# Keras versions prior to 3.14.0 are vulnerable to a path traversal issue in the archive extraction utilities located in \`keras/src/utils/file_utils.py\`. The functions \`filter_safe_tarinfos()\` and \`f...

Advisory record · `GHSA-hqp4-2352-xf5r`

- **Identifiers:** `GHSA-hqp4-2352-xf5r` · `CVE-2026-11816` · `PYSEC-2026-2324`
- **State:** Confirmed
- **Severity:** CVSS 8.1 High
- **Critical:** No
- **Weakness (CWE):** [CWE-22](https://cwe.mitre.org/data/definitions/22.html)
- **Tags:** [Path traversal](https://agentprime.io/advisories/tag/path-traversal.md)
- **Published:** 11 Jun 2026
- **Updated:** 10 Aug 2026
- **Reviewed by a person:** No

Published by the GitHub Advisory Database at 11 Jun 2026, 14:16 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

## Affected packages

- `keras` (PyPI): affected `<3.14.0`; fixed in `3.14.0`

## Machine-written summary

Summary written by Claude Haiku from the source advisory. Not reviewed by a person.

> Keras versions before 3.14.0 are vulnerable to path traversal during archive extraction. When the working directory is /, as is common in Docker, CI/CD and Jupyter environments, a crafted tar or zip archive can write files outside the extraction directory. Upgrade to Keras 3.14.0 or later.

Written 5 Nov 2026.

## Not analysed yet

We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.

## Severity and exploitation

- 8.1 High, CVSS 3.0: `CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N`, from CNA (@huntr_ai)

- **CISA KEV:** Not listed.
- **EPSS:** 0.0056, the 47th percentile, on 16 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

## Timeline

- 31 Oct 2026, 14:40 UTC: First seen by agentprime
- 31 Oct 2026, 14:40 UTC: [Confirmed by OSV](https://osv.dev/vulnerability/PYSEC-2026-2324)

## Sources

- [GitHub Advisory Database: GHSA-hqp4-2352-xf5r](https://github.com/advisories/GHSA-hqp4-2352-xf5r)
- [OSV: GHSA-hqp4-2352-xf5r](https://osv.dev/vulnerability/GHSA-hqp4-2352-xf5r)
- <https://access.redhat.com/security/cve/CVE-2026-11816>
- <https://bugzilla.redhat.com/show_bug.cgi?id=2487912>
- <https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-11816.json>
- <https://github.com/keras-team/keras/commit/2465b6657b02c8eed308759b7e800e295ae01888>
- <https://github.com/advisories/GHSA-hqp4-2352-xf5r>

Facts on this page come from the GitHub Advisory Database (CC-BY 4.0), OSV and the other sources listed, as published. We don’t reproduce full advisory descriptions, which can contain exploit code.

## Check whether this affects you

A Match means an installed version is in the affected range above. Most don’t affect the app; agentprime hasn’t analysed this one yet.

- With the agentprime MCP server (<https://api.agentprime.io/mcp>), ask your agent to check the project: `check_lockfile` sends a lockfile, `check_packages` a list of installed packages, and both return the Matches and the upgrades that clear them. `get_advisory` returns this record. Setup: <https://agentprime.io/mcp.md>
- In a browser: <https://agentprime.io/check/> reads your lockfile in the browser, never uploading it.
- Whether it touches your code, with file and line: the Claude Code plugin, <https://agentprime.io/plugin.md>
- As JSON: <https://api.agentprime.io/v1/advisories/GHSA-hqp4-2352-xf5r>, or `POST https://api.agentprime.io/v1/match` with your packages (<https://agentprime.io/api.md>)

---

The web page: <https://agentprime.io/advisories/GHSA-hqp4-2352-xf5r/>. Everything for agents: <https://agentprime.io/llms.txt>.
