# CVE-2023-43741: Buildkite Elastic CI for AWS time-of-check-time-of-use race condition vulnerability

- Severity: High 7.0 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H`
- 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.19%, higher than 9% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2023-12-22T00:00:00.000Z
- Modified: 2026-06-17T06:26:19.360Z
- Also known as: GHSA-r5hg-349q-mg2q, GO-2024-2440
- Weaknesses: CWE-367
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total
- Assigned by: mitre

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

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- github.com/buildkite/elastic-ci-stack-for-aws/v6 (Go): before 6.7.1
- github.com/buildkite/elastic-ci-stack-for-aws (Go): all versions
- github.com/buildkite/elastic-ci-stack-for-aws/v5 (Go): all versions
- buildkite elastic_ci_stack: before 5.22.5; from 6.0.0 before 6.7.1

## Every score

- GitHub: CVSS:3.1 7.0 High `CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:3.1 7.0 High `CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://github.com/atredispartners/advisories/blob/master/ATREDIS-2023-0003.md> (exploit, third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2023-43741> (advisory)
- <https://github.com/buildkite/elastic-ci-stack-for-aws/commit/edad0b158ea10a6647bb1c84629d93f5c3d8770e> (fix, web)
- <https://github.com/buildkite/elastic-ci-stack-for-aws> (package)
- <https://github.com/advisories/GHSA-r5hg-349q-mg2q> (advisory)

## Sources

- CVE List: [CVE-2023-43741](https://www.cve.org/CVERecord?id=CVE-2023-43741), CVE Terms of Use, modified 2024-08-27
- GitHub Advisory Database: [GHSA-r5hg-349q-mg2q](https://github.com/advisories/GHSA-r5hg-349q-mg2q), CC-BY-4.0, modified 2024-06-28
- Go Vulnerability Database: [GO-2024-2440](https://pkg.go.dev/vuln/GO-2024-2440), CC-BY-4.0, modified 2026-03-03
- NVD: [CVE-2023-43741](https://nvd.nist.gov/vuln/detail/CVE-2023-43741), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2023-43741 · Whole record: https://cve.day/CVE-2023-43741.json · Rebuilt by cve.day 2026-11-25T22:58:31.623Z
