Advisory Database
  • Advisories
  • Dependency Scanning
  1. golang
  2. ›
  3. github.com/fluxcd/source-controller
  4. ›
  5. CVE-2026-47680

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

June 5, 2026

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.

References

  • github.com/advisories/GHSA-jjrm-hr5f-673x
  • github.com/fluxcd/source-controller/commit/759bd6c451e7cc4327b38f42c8b671980165cb0e
  • github.com/fluxcd/source-controller/pull/2054
  • github.com/fluxcd/source-controller/security/advisories/GHSA-jjrm-hr5f-673x
  • nvd.nist.gov/vuln/detail/CVE-2026-47680

Code Behaviors & Features

Detect and mitigate CVE-2026-47680 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions starting from 0.0.17 before 1.8.5

Fixed versions

  • 1.8.5

Solution

Upgrade to version 1.8.5 or above.

Impact 5.4 MEDIUM

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:L

Learn more about CVSS

Weakness

  • CWE-23: Relative Path Traversal

Source file

go/github.com/fluxcd/source-controller/CVE-2026-47680.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 07 Jun 2026 12:17:53 +0000.