Use of hard-coded, security-relevant constants in deepset-ai/haystack
CVE-2023-1712 · GHSA-w7qg-j435-78qw · PYSEC-2026-337 · published 30 Mar 2023
How serious is it
- Severity: critical, CVSS score 9.8 out of 10.
- No exploit prediction (EPSS) score yet.
- Not on the CISA list of exploited vulnerabilities.
- No public exploit in Exploit-DB.
Is your app affected by CVE-2023-1712?
Paste this prompt into Claude Code, Cursor or any AI coding tool: it runs a free Shippable scan of your project and fixes what it finds. Built with Lovable, Bolt or v0? Scan your live app. Or upload your package file.
Who is affected
farm-haystack(PyPI) <= 1.15.0
How to check
- Run
pip show farm-haystackin your project to see the installed version, including copies pulled in by other packages. - Or paste your lockfile into the checker: it lists every package with a known vulnerability, this one included.
- Or run
npx shippable-dev scan localhost:3000in your project folder. It reads your lockfile and flags this vulnerability along with every other known one.
How to fix
Copies a prompt for Claude Code, Cursor or Codex: it checks your lockfiles for this and upgrades it.
- No fixed version of
farm-haystackyet. Replace or remove it, or apply the workaround in the advisory below. - If a vulnerable version was live, check your logs and rotate the secrets that server could read.
The advisory
Use of Hard-coded, Security-relevant Constants in GitHub repository deepset-ai/haystack in version 1.15.0 and prior. A patch is available at commit 5fc84904f198de661d5b933fde756aa922bf09f1.
Check your whole app
Dependencies are only half of it. Free and read-only: before you push, run npx shippable-dev scan localhost:3000 in your project folder, no account needed. For your live app, you prove it's yours with a one-line tag first.
References
- nvd.nist.gov/vuln/detail/CVE-2023-1712
- github.com/deepset-ai/haystack/commit/5fc84904f198de661d5b933fde756aa922bf09f1
- huntr.dev/bounties/9a6b1fb4-ec9b-4cfa-af1e-9ce304924829
- github.com/deepset-ai/haystack/pull/4535
- github.com/pypa/advisory-database/tree/main/vulns/farm-haystack/PYSEC-2026-337.yaml
- pypi.org/project/farm-haystack
- github.com/advisories/GHSA-w7qg-j435-78qw
- github.com/deepset-ai/haystack
Merged from GitHub Advisory Database, OSV. Last updated 28 Oct 2026. All vulnerabilities · RSS · JSON