<?xml version='1.0' encoding='UTF-8'?>
<?xml-stylesheet href="/static/style.xsl" type="text/xsl"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
  <id>https://vulnerability.circl.lu/rss/recent/all/10</id>
  <title>Most recent entries from all</title>
  <updated>2026-09-29T13:56:44.283059+00:00</updated>
  <author>
    <name>Vulnerability-Lookup</name>
    <email>info@circl.lu</email>
  </author>
  <link href="https://vulnerability.circl.lu" rel="alternate"/>
  <generator uri="https://lkiesow.github.io/python-feedgen" version="1.0.0">python-feedgen</generator>
  <subtitle>Contains only the most 10 recent entries.</subtitle>
  <entry>
    <id>https://vulnerability.circl.lu/vuln/ghsa-5pf6-2qwx-pxm2</id>
    <title>GHSA-5pf6-2qwx-pxm2 — Go SDK for CloudEvents's use of WithRoundTripper to create a Client leaks credentials</title>
    <updated>2026-09-29T13:56:44.285135+00:00</updated>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml"><p><strong>Affected:</strong> Go: github.com/cloudevents/sdk-go/v2</p>
<p>### 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.</p>
<p>The relevant code is [here](https://github.com/cloudevents/sdk-go/blob/67e389964131d55d65cd14b4eb32d57a47312695/v2/protocol/http/protocol.go#L104-L110) (also inline, emphasis added):</p>
<p>&lt;pre&gt;if p.Client == nil {
  p.Client = **http.DefaultClient**
}</p>
<p>if p.roundTripper != nil {
  p.Client.**Transport = p.roundTripper**
}
&lt;/pre&gt;</p>
<p>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)</p>
<p>... then http.DefaultClient is modified with the authenticated transport and will start to send Authorization tokens to
**any endpoint** it is used to contact!</p>
<p>Found and patched by: @tcnghia and @mattmoor</p>
<p>### Patches
v.2.15.2</p></div>
    </content>
    <link href="https://vulnerability.circl.lu/vuln/ghsa-5pf6-2qwx-pxm2"/>
  </entry>
</feed>
