PulseAugur
EN
LIVE 19:43:00

Pydantic AI Harness had two critical ReDoS bugs in safety features

Two critical ReDoS vulnerabilities were discovered in the Pydantic AI Harness library, specifically within its safety features designed to sanitize agent tool output. The bugs, GHSA-m4cr-m4qc-9hh3 and GHSA-5m5q-5qj4-gx9h, were found in the ANSI escape code stripper and the default JSON Web Token (JWT) pattern used for secret redaction, respectively. These vulnerabilities could lead to denial-of-service attacks by causing the regex engine to backtrack excessively on crafted input, consuming significant processing time. Both issues have been fixed in Pydantic AI Harness version 0.70.0 and Pydantic AI version v2.70.0. AI

IMPACT These vulnerabilities highlight the risks of complex regex patterns in AI safety features, potentially impacting the reliability of agent tool output sanitization.

RANK_REASON Security vulnerabilities discovered in a software library.

Read on dev.to — MCP tag →

AI-generated summary · Google Gemini · from 1 sources. How we write summaries →

Pydantic AI Harness had two critical ReDoS bugs in safety features

How we ranked this

Signal score
14 / 100
Composite score across the factors below. Higher = stronger signal that this story matters right now.
Newsworthiness bucket
Tool
Security vulnerabilities discovered in a software library.
Source corroboration
Single-source cluster
Only one publisher covered this so far. Single-source stories can still rank when the publisher is high-authority, but they lack cross-source corroboration.
Topics
product, safety
Editorial topic classification. Feeds into how the story surfaces on /topic/<slug> hub pages and into the per-entity coverage mix.
AI-industry relevance
High
Clearly on-topic for AI-industry coverage.
Story freshness
Breaking (< 6h)
Fresh story with cross-source coverage still developing. Ranking may shift as more sources report.

Full methodology in our editorial standards.

COVERAGE [1]

  1. dev.to — MCP tag TIER_1 English(EN) · Mike Moore ·

    Two ReDoS Bugs Were Hiding in Pydantic AI's Own Safety Features

    <p><em>Originally published at <a href="https://webofmike.com/pydantic-ai-harness-redos/" rel="noopener noreferrer">webofmike.com</a> on 2026-11-27T16:07:00Z. The demo repo and every command in it were run before publishing.</em></p> <p>Two high-severity advisories landed against…