# CVE-2023-1712: Use of Hard-coded, Security-relevant Constants in deepset-ai/haystack

- Severity: Critical 9.1 (CVSS:3.0, scored by @huntrdev) `CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/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.84%, higher than 59% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2023-03-30T00:00:00.000Z
- Modified: 2026-10-27T17:00:05.122Z
- Also known as: GHSA-w7qg-j435-78qw, PYSEC-2026-337
- Weaknesses: CWE-547
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact partial
- Assigned by: @huntrdev

## Description

Use of Hard-coded, Security-relevant Constants in GitHub repository deepset-ai/haystack prior to 0.1.30.

(As written by CVE List.)

## Affected

- deepset-ai deepset-ai/haystack: from unspecified before 0.1.30
- farm-haystack (PyPI): up to 1.15.0
- deepset haystack: before 2023-03-29

## Every score

- @huntrdev: CVSS:3.0 9.1 Critical `CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H`
- GitHub: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- PyPA Advisory Database: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://huntr.dev/bounties/9a6b1fb4-ec9b-4cfa-af1e-9ce304924829> (exploit, issue-tracking, patch, third-party-advisory, web)
- <https://github.com/deepset-ai/haystack/commit/5fc84904f198de661d5b933fde756aa922bf09f1> (patch, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2023-1712> (advisory)
- <https://github.com/deepset-ai/haystack/pull/4535> (web)
- <https://github.com/deepset-ai/haystack> (package)
- <https://github.com/pypa/advisory-database/tree/main/vulns/farm-haystack/PYSEC-2026-337.yaml> (web)
- <https://pypi.org/project/farm-haystack> (package, web)
- <https://github.com/advisories/GHSA-w7qg-j435-78qw> (advisory)

## Sources

- CVE List: [CVE-2023-1712](https://www.cve.org/CVERecord?id=CVE-2023-1712), CVE Terms of Use, modified 2025-02-11
- GitHub Advisory Database: [GHSA-w7qg-j435-78qw](https://github.com/advisories/GHSA-w7qg-j435-78qw), CC-BY-4.0, modified 2026-10-27
- NVD: [CVE-2023-1712](https://nvd.nist.gov/vuln/detail/CVE-2023-1712), Public domain, modified 2026-06-17
- PyPA Advisory Database: [PYSEC-2026-337](https://osv.dev/vulnerability/PYSEC-2026-337), CC-BY-4.0, modified 2026-07-01

---

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