# CVE-2024-31216: source-controller leaks theAzure Storage SAS token into logs on connection errors

- Severity: Medium 5.1 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.21%, higher than 12% of CVEs (2026-12-01)
- Published: 2024-05-15T15:52:15.084Z
- Modified: 2026-09-10T03:50:14.284Z
- Also known as: GHSA-v554-xwgw-hc3w, GO-2024-2859
- Related: CGA-98j2-g5j5-52xg
- Weaknesses: CWE-532
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: GitHub_M

## Description

The source-controller is a Kubernetes operator, specialised in artifacts acquisition from external sources such as Git, OCI, Helm repositories and S3-compatible buckets. The source-controller implements the source.toolkit.fluxcd.io API and is a core component of the GitOps toolkit. Prior to version 1.2.5, when source-controller was configured to use an Azure SAS token when connecting to Azure Blob Storage, the token was logged along with the Azure URL when the controller encountered a connection error. An attacker with access to the source-controller logs could use the token to gain access to the Azure Blob Storage until the token expires. This vulnerability was fixed in source-controller v1.2.5. There is no workaround for this vulnerability except for using a different auth mechanism such as Azure Workload Identity.

(As written by CVE List.)

## Affected

- fluxcd source-controller: < 1.2.5
- github.com/fluxcd/source-controller (Go): before 1.2.5

## Every score

- GitHub_M: CVSS:3.1 5.1 Medium `CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N`
- GitHub: CVSS:3.1 5.1 Medium `CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N`

## References

- <https://github.com/fluxcd/source-controller/security/advisories/GHSA-v554-xwgw-hc3w> (advisory, web)
- <https://github.com/fluxcd/source-controller/pull/1430> (fix, web)
- <https://github.com/fluxcd/source-controller/commit/915d1a072a4f37dd460ba33079dc094aa6e72fa9> (fix, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2024-31216> (advisory)
- <https://github.com/fluxcd/source-controller> (package)

## Sources

- CVE List: [CVE-2024-31216](https://www.cve.org/CVERecord?id=CVE-2024-31216), CVE Terms of Use, modified 2024-08-02
- GitHub Advisory Database: [GHSA-v554-xwgw-hc3w](https://github.com/advisories/GHSA-v554-xwgw-hc3w), CC-BY-4.0, modified 2026-09-10
- Go Vulnerability Database: [GO-2024-2859](https://pkg.go.dev/vuln/GO-2024-2859), CC-BY-4.0, modified 2026-02-04
- NVD: [CVE-2024-31216](https://nvd.nist.gov/vuln/detail/CVE-2024-31216), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2024-31216 · Whole record: https://cve.day/CVE-2024-31216.json · Rebuilt by cve.day 2026-11-25T22:58:40.385Z
