CVE-2026-40087
MediumAdvisory
Published 8 Apr 2026In the index since 6 Sept 2026
- Severity
- Medium
- worst across findings
- CVSS
- 5.3
- base score, highest
- EPSS
- 0.003
- 18th percentile
- CISA KEV
- Not listed
- no confirmed exploitation
- Charts affected
- 20
- of 17,781 indexed, latest versions
- Container images
- 18
- deployed by those charts
- Fix available
- 1 of 1
- affected package
LangChain has incomplete f-string validation in prompt templates
Carried by container images the latest versions of 20 of 17,781 indexed charts deploy, on 18 images.
| Affected package | Affected versions | Fixed in | Images |
|---|---|---|---|
| langchain-corepypi | 0.1.23, 0.1.52, 0.2.22, 0.3.1+8 more | 0.3.84, 1.2.28 | 18 |
- OSV records
- GHSA-926x-3r5x-gfhw
- Also known as
- PYSEC-2026-2563
Charts affected
20 by stars
Container images carrying it
18 by charts deploying them
A fixed version is listed for 1 of the 1 affected package.
| Container image | Digest | Package | Fixed in | Used by |
|---|---|---|---|---|
| opea/ | 5c9639de61c1 | langchain-core | 0.3.84 | 2 |
| opea/ | eb746b263705 | langchain-core | 0.3.84 | 2 |
| ghcr.io/ | fd8d3e6e4cdf | langchain-core | 0.3.84 | 2 |
| apecloud/ | 8ac9947a2c84 | langchain-core | 0.3.84 | 1 |
| baserow/ | e0b3c8130b91 | langchain-core | 0.3.84 | 1 |
| baserow/ | df0c42eb67e8 | langchain-core | 0.3.84 | 1 |
| ilum/ | ce5dcdeb22ba | langchain-core | 1.2.28 | 1 |
| opea/ | 262c6048aab8 | langchain-core | 0.3.84 | 1 |
| opea/ | f68bec6a1271 | langchain-core | 0.3.84 | 1 |
| opea/ | 02f9e8fa5d71 | langchain-core | 0.3.84 | 1 |
| opea/ | fe08165d7770 | langchain-core | 0.3.84 | 1 |
| opencsghq/ | 2f03fead54db | langchain-core | 0.3.84 | 1 |
| sruthitanneru/ | e565ea454ffd | langchain-core | 0.3.84 | 1 |
| tock/ | abf7880e0449 | langchain-core | 0.3.84 | 1 |
| ghcr.io/ | a2be95de450c | langchain-core | 0.3.84 | 1 |
| ghcr.io/ | 39d48995a5bd | langchain-core | 0.3.84 | 1 |
| ghcr.io/ | 45459c0910fc | langchain-core | 1.2.28 | 1 |
| quay.io/ | 59fe607dfdf2 | langchain-core | 0.3.84 | 1 |