CVE-2023-43741 is a high-severity (CVSS 7) CWE-367 vulnerability in github.com/buildkite/elastic-ci-stack-for-aws/v6. 1 public exploit or proof-of-concept reference is indexed, so weaponization risk is real. A fix is available for github.com/buildkite/elastic-ci-stack-for-aws/v6 — see the affected versions and patch details below.
Buildkite Elastic CI for AWS time-of-check-time-of-use race condition vulnerability
Exploitation Status
Proof-of-concept exploit code exists
- CISA’s SSVC triage found public proof-of-concept exploit code for this CVE, though no confirmed active exploitation.
- A successful exploit gives an attacker total control of the affected component, not partial access.
Exploitation and automatability from CISA’s SSVC triage for CVE-2023-43741.
EPSS Exploitation Probability
Probability of exploitation in the next 30 days, from FIRST.org EPSS.
How urgent is this, really
Where this sits among everything scored
Real-World Exposure
github.com/buildkite/elastic-ci-stack-for-aws/v6Real-time download stats are indexed for npm and PyPI packages. This vulnerability affects Go packages — download data is not available via public APIs for these ecosystems.
Description
A time-of-check-time-of-use race condition vulnerability in Buildkite Elastic CI for AWS versions prior to 6.7.1 and 5.22.5 allows the buildkite-agent user to bypass a symbolic link check for the PIPELINE_PATH variable in the fix-buildkite-agent-builds-permissions script.
Affected Packages
| Ecosystem | Package | Vulnerable range | Fix |
|---|---|---|---|
| 🐹Go | github.com/buildkite/elastic-ci-stack-for-aws/v6 | all versions | 6.7.1go get github.com/buildkite/elastic-ci-stack-for-aws/v6@v6.7.1 |
Affected Products
elastic ci stackbuildkiteResearch use only. For defensive security, authorized penetration testing, and academic research only. Never execute exploit code against systems without explicit written authorization.
Detection & mitigation playbook
Open-source dependencyDetect
Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for github.com/buildkite/elastic-ci-stack-for-aws/v6, including transitive dependencies — a direct dependency you never call can still pull in a vulnerable version.
Fix
Update github.com/buildkite/elastic-ci-stack-for-aws/v6 to 6.7.1 or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms CVE-2023-43741 is resolved across your whole dependency graph.
Workarounds
If you can't upgrade right away: gate or disable the affected feature, validate untrusted input at the boundary, and avoid passing attacker-controlled data into the vulnerable path. O3's runtime protection blocks exploitation in production as an interim safeguard until the upgrade lands.
Frequently Asked Questions
Is CVE-2023-43741 in your dependencies?
Find it across Go, including transitive dependencies.