<?xml version='1.0' encoding='UTF-8'?>
<?xml-stylesheet href="/static/style.xsl" type="text/xsl"?>
<rss xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/" version="2.0">
  <channel>
    <title>Most recent entries from all</title>
    <link>https://vulnerability.circl.lu</link>
    <description>Contains only the most 10 recent entries.</description>
    <docs>http://www.rssboard.org/rss-specification</docs>
    <generator>python-feedgen</generator>
    <language>en</language>
    <lastBuildDate>Tue, 29 Sep 2026 13:56:43 +0000</lastBuildDate>
    <item>
      <title>GHSA-5pf6-2qwx-pxm2 — Go SDK for CloudEvents's use of WithRoundTripper to create a Client leaks credentials</title>
      <link>https://vulnerability.circl.lu/vuln/ghsa-5pf6-2qwx-pxm2</link>
      <description>&lt;p&gt;&lt;strong&gt;Affected:&lt;/strong&gt; Go: github.com/cloudevents/sdk-go/v2&lt;/p&gt;
&lt;p&gt;### Impact
_What kind of vulnerability is it? Who is impacted?_
Using cloudevents.WithRoundTripper to create a cloudevents.Client with an authenticated http.RoundTripper causes the go-sdk to leak credentials to arbitrary endpoints.&lt;/p&gt;
&lt;p&gt;The relevant code is [here](https://github.com/cloudevents/sdk-go/blob/67e389964131d55d65cd14b4eb32d57a47312695/v2/protocol/http/protocol.go#L104-L110) (also inline, emphasis added):&lt;/p&gt;
&lt;p&gt;&amp;lt;pre&amp;gt;if p.Client == nil {
  p.Client = **http.DefaultClient**
}&lt;/p&gt;
&lt;p&gt;if p.roundTripper != nil {
  p.Client.**Transport = p.roundTripper**
}
&amp;lt;/pre&amp;gt;&lt;/p&gt;
&lt;p&gt;When the transport is populated with an authenticated transport such as:
- [oauth2.Transport](https://pkg.go.dev/golang.org/x/oauth2#Transport)
- [idtoken.NewClient(...).Transport](https://pkg.go.dev/google.golang.org/api/idtoken#NewClient)&lt;/p&gt;
&lt;p&gt;... then http.DefaultClient is modified with the authenticated transport and will start to send Authorization tokens to
**any endpoint** it is used to contact!&lt;/p&gt;
&lt;p&gt;Found and patched by: @tcnghia and @mattmoor&lt;/p&gt;
&lt;p&gt;### Patches
v.2.15.2&lt;/p&gt;</description>
      <content:encoded>&lt;p&gt;&lt;strong&gt;Affected:&lt;/strong&gt; Go: github.com/cloudevents/sdk-go/v2&lt;/p&gt;
&lt;p&gt;### Impact
_What kind of vulnerability is it? Who is impacted?_
Using cloudevents.WithRoundTripper to create a cloudevents.Client with an authenticated http.RoundTripper causes the go-sdk to leak credentials to arbitrary endpoints.&lt;/p&gt;
&lt;p&gt;The relevant code is [here](https://github.com/cloudevents/sdk-go/blob/67e389964131d55d65cd14b4eb32d57a47312695/v2/protocol/http/protocol.go#L104-L110) (also inline, emphasis added):&lt;/p&gt;
&lt;p&gt;&amp;lt;pre&amp;gt;if p.Client == nil {
  p.Client = **http.DefaultClient**
}&lt;/p&gt;
&lt;p&gt;if p.roundTripper != nil {
  p.Client.**Transport = p.roundTripper**
}
&amp;lt;/pre&amp;gt;&lt;/p&gt;
&lt;p&gt;When the transport is populated with an authenticated transport such as:
- [oauth2.Transport](https://pkg.go.dev/golang.org/x/oauth2#Transport)
- [idtoken.NewClient(...).Transport](https://pkg.go.dev/google.golang.org/api/idtoken#NewClient)&lt;/p&gt;
&lt;p&gt;... then http.DefaultClient is modified with the authenticated transport and will start to send Authorization tokens to
**any endpoint** it is used to contact!&lt;/p&gt;
&lt;p&gt;Found and patched by: @tcnghia and @mattmoor&lt;/p&gt;
&lt;p&gt;### Patches
v.2.15.2&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://vulnerability.circl.lu/vuln/ghsa-5pf6-2qwx-pxm2</guid>
    </item>
  </channel>
</rss>
