Skip to content
Fencer Intel
medium 5.4

GHSA-5pfm-2g3g-gh85 json

UI adapters: a client-submitted tool call can execute because the compaction-part drop runs after the dangling-call strip

published 23d ago modified 21d ago

Unreviewed: the maintainers' own advisory

Published by the maintainers on their GitHub repository pydantic/pydantic-ai. GitHub has not reviewed it into the GitHub Advisory Database and no CVE record has reached us yet, so everything here comes from the maintainers alone. Read the full advisory on GitHub.

cvss
5.4
version 3.1, the maintainers
cisa kev
Not listed
not in CISA's catalog
epss
—
no score, EPSS covers CVEs only
public exploits
0
none known

Summary

Security advisory published by the maintainers of pydantic/pydantic-ai for pydantic-ai-slim and pydantic-ai: the maintainers' own advisory, not a reviewed GitHub Advisory Database entry. The full advisory is on GitHub.

Patch / fix

  • pypi pydantic-ai-slim 2.58.0
  • pypi pydantic-ai 2.58.0

Is GHSA-5pfm-2g3g-gh85 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.

Check with Fencer

CVSS scores

assigned by version score vector
the maintainers 3.1 5.4 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N

Affected packages

ecosystem package affected fixed in
pypi pydantic-ai-slim
>=2.27.0, <=2.57.0
2.58.0
pypi pydantic-ai
>=2.27.0, <=2.57.0
2.58.0

Classification

Weakness
  • CWE-670 Always-Incorrect Control Flow Implementation

References

Sources

Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.

The maintainers of pydantic/pydantic-ai published their own advisory on GitHub. Its facts and headline are shown here; the description stays on GitHub.