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

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** MEDIUM 5.3
- **CVSS:** 5.3 (v4.0, CNA) `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`
- **CVSS metrics:** Attack vector: Network; Attack complexity: Low; Attack requirements: None; Privileges required: Low; User interaction: None; Confidentiality impact: None; Integrity impact: Low; Availability impact: Low; Confidentiality impact on other systems: None; Integrity impact on other systems: None; Availability impact on other systems: None
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, login needed
- **EPSS:** 0.46% (percentile 32, 2026-11-26)
- **CWE:** CWE-23
- **Aliases:** GHSA-jjrm-hr5f-673x, GO-2026-5472
- **Published:** 2026-06-05T16:32:51.000Z
- **Modified:** 2026-09-30T19:57:08.043Z

## Who should check

- Projects that depend on Go package github.com/fluxcd/source-controller (\>= 0.0.17, \< 1.8.5)
- Anyone running fluxcd source-controller \>= 0.0.17, \< 1.8.5

## 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.

## Affected and fixed versions

- Go `github.com/fluxcd/source-controller`: affected \>= 0.0.17, \< 1.8.5; fixed 1.8.5 (osv)
- fluxcd source-controller: \>= 0.0.17, \< 1.8.5 (cvelist)

## Mitigation

- Upgrade github.com/fluxcd/source-controller to 1.8.5 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-47680. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-47680.md
Affected: github.com/fluxcd/source-controller >= 0.0.17, < 1.8.5
Fixed in: 1.8.5

Steps:
1. Search this machine and project for github.com/fluxcd/source-controller (Go), fluxcd source-controller: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-47680 being exploited?

There is no confirmed exploitation: CVE-2026-47680 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.46% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2026-47680?

Medium: CVSS 5.3 (v4.0, scored by CNA). Remote, login needed.

### Which versions are affected by CVE-2026-47680?

github.com/fluxcd/source-controller \>= 0.0.17, \< 1.8.5.

### Is there a fix for CVE-2026-47680?

Yes. Fixed in 1.8.5. Upgrade github.com/fluxcd/source-controller to 1.8.5 or later.

### How do I check if I'm affected by CVE-2026-47680?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- vendor: <https://github.com/fluxcd/source-controller/security/advisories/GHSA-jjrm-hr5f-673x>
- patch: <https://github.com/fluxcd/source-controller/pull/2054>
- patch: <https://github.com/fluxcd/source-controller/commit/759bd6c451e7cc4327b38f42c8b671980165cb0e>
- other: <https://github.com/fluxcd/source-controller>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-47680>
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/GHSA-jjrm-hr5f-673x> (license: <https://creativecommons.org/licenses/by/4.0/>)
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/GO-2026-5472> (license: <https://creativecommons.org/licenses/by/4.0/>)

HTML: <https://flawdb.com/CVE-2026-47680> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-47680>
