{"answers":{"affected":"3 open source packages ship an affected version, including github.com/fluxcd/source-controller.","exploited":"There is no known exploitation of CVE-2026-47680 in the wild and no public exploit code.","fix":"Upgrade github.com/fluxcd/source-controller to 1.8.5 or later.","what":"CVE-2026-47680 is a medium-severity vulnerability in fluxcd source-controller, published on 8 Sep 2026."},"fix_prompt":"Check this codebase for CVE-2026-47680 and fix it if it is affected.\n\nWhat it is: CVE-2026-47680 is a medium-severity vulnerability in fluxcd source-controller, published on 8 Sep 2026. \nExploitation: There is no known exploitation of CVE-2026-47680 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- github.com/fluxcd/source-controller (Go): affected from 0.0.17; fixed in 1.8.5\n- github.com/fluxcd/source-controller (Go): affected from 0.0.17; fixed in 1.8.5\n- github.com/fluxcd/source-controller (Go): affected from 0.0.17; fixed in 1.8.5\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2026-47680/ (Markdown: https://insights.sbomify.com/CVE-2026-47680/index.md)","id":"CVE-2026-47680","markdown":"https://insights.sbomify.com/CVE-2026-47680/index.md","name":"CVE-2026-47680","record":{"aliases":["GHSA-jjrm-hr5f-673x","GO-2026-5472"],"analysis":null,"analysis_generated_by":null,"assigner":"GitHub_M","cpe":[],"cvss":{"score":5.3,"severity":"medium","source":"cna","vector":"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","version":"4.0"},"cwes":[{"id":"CWE-23","name":"Relative Path Traversal"}],"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.","ecosystems":["Go"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"Source controller: Improper path handling allows traversal","id":"CVE-2026-47680","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Go","product":null,"products":[],"type":null,"year":"2026"},"n_packages":3,"n_references":3,"next":{"headline":"CVAT: Missing path-containment validation in multiple entry points allows arbitrary path writes","id":"CVE-2026-47682"},"packages":[{"ecosystem":"Go","fixed":["1.8.5"],"introduced":["0.0.17"],"last_affected":[],"package":"github.com/fluxcd/source-controller","purl":null,"source":"GHSA-jjrm-hr5f-673x"},{"ecosystem":"Go","fixed":["1.8.5"],"introduced":["0.0.17"],"last_affected":[],"package":"github.com/fluxcd/source-controller","purl":"pkg:golang/github.com/fluxcd/source-controller","source":"GHSA-jjrm-hr5f-673x"},{"ecosystem":"Go","fixed":["1.8.5"],"introduced":["0.0.17"],"last_affected":[],"package":"github.com/fluxcd/source-controller","purl":"pkg:golang/github.com/fluxcd/source-controller","source":"GO-2026-5472"}],"prev":{"headline":"GLPI: arbitrary file deletion","id":"CVE-2026-47679"},"products":["source-controller"],"published":"2026-09-08","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CC BY 4.0","name":"Go Vulnerability Database","prefix":"GO"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2026-09-09","vendors":["fluxcd"]},"summary":null,"url":"https://insights.sbomify.com/CVE-2026-47680/"}