# CVE-2026-47680: Source controller: Improper path handling allows traversal

- Severity: Medium 5.3 (CVSS:4.0, scored by GitHub_M) `CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:L/VA:L/SC:N/SI:N/SA: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.33%, higher than 27% of CVEs (2026-12-01)
- Published: 2026-06-05T16:32:51.000Z
- Modified: 2026-09-30T19:57:08.043Z
- Also known as: GHSA-jjrm-hr5f-673x, GO-2026-5472
- Weaknesses: CWE-23
- 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. In versions 0.0.17 through 1.8.4, an actor with the ability to influence the contents of a bucket referenced by a `Bucket` resource can cause source-controller to write fetched object data to paths outside the per-reconciliation working directory. The corruption surface is bounded by source-controller's own and downstream Flux controllers' digest verification: source-controller verifies stored artifact digests during reconciliation and rebuilds on divergence; consumers (kustomize-controller, helm-controller) verify the digest of fetched artifacts and reject mismatches. These checks prevent a manipulated artifact from reaching the cluster, but an attacker can still write files anywhere the source-controller pod has permission to write. Separately, a user with permission to create or update `GitRepository` resources can cause source-controller to test for the existence of paths outside the cloned repository. Because the result is exposed via the resource's status, this allows limited enumeration of file paths on the controller pod. This surface exists only on source-controller v1.6.0 and later, where the sparse-checkout feature was introduced. This vulnerability was fixed in source-controller v1.8.5. There is no in-product workaround. Users should upgrade to a patched version. As a defense-in-depth measure for the GitRepository sparse-checkout surface, a `ValidatingAdmissionPolicy` (or a third-party policy engine such as Kyverno or OPA Gatekeeper) can be deployed to reject `GitRepository` resources whose `.spec.sparseCheckout` entries contain `..` or absolute path segments.

(As written by CVE List.)

## Affected

- fluxcd source-controller: >= 0.0.17, < 1.8.5
- github.com/fluxcd/source-controller (Go): from 0.0.17 before 1.8.5

## Every score

- GitHub_M: CVSS:4.0 5.3 Medium `CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:L/VA:L/SC:N/SI:N/SA:N`
- GitHub: CVSS:4.0 Medium `CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:L/VA:L/SC:N/SI:N/SA:N`

## References

- <https://github.com/fluxcd/source-controller/security/advisories/GHSA-jjrm-hr5f-673x> (advisory, web)
- <https://github.com/fluxcd/source-controller/pull/2054> (fix, web)
- <https://github.com/fluxcd/source-controller/commit/759bd6c451e7cc4327b38f42c8b671980165cb0e> (fix, web)
- <https://github.com/fluxcd/source-controller> (package)

## Sources

- CVE List: [CVE-2026-47680](https://www.cve.org/CVERecord?id=CVE-2026-47680), CVE Terms of Use, modified 2026-09-09
- GitHub Advisory Database: [GHSA-jjrm-hr5f-673x](https://github.com/advisories/GHSA-jjrm-hr5f-673x), CC-BY-4.0, modified 2026-06-25
- Go Vulnerability Database: [GO-2026-5472](https://pkg.go.dev/vuln/GO-2026-5472), CC-BY-4.0, modified 2026-06-25
- NVD: [CVE-2026-47680](https://nvd.nist.gov/vuln/detail/CVE-2026-47680), Public domain, modified 2026-09-30

---

Page: https://cve.day/CVE-2026-47680 · Whole record: https://cve.day/CVE-2026-47680.json · Rebuilt by cve.day 2026-11-25T22:59:37.606Z
