Security context

What an agent needs to avoid regressing past fixes and find the next vuln in this repo.

zopefoundation/transaction
master @ 5c0e211
1
Fixes
0
CVEs
HIGH
Peak severity
Highlights
Auth Bypass: 1 prior fix. Scrutinize any change in this area.
transaction/_manager.py: most-fixed (1 issue). Treat as high-risk during review.
1 high-severity fix in this history; regressions here are high-impact.
Recurring patterns

The bug types that recur here, drawn from past fixes, not open vulnerabilities.

Auth Bypass: The transaction manager historically relied on recycled thread identifiers to map transactions to execution contexts. This allowed a new thread with a recycled ID to hijack an active transaction from a terminated thread, leading to a severe authentication bypass and data leakage. Developers must ensure that any transaction manager implementations inherit from thread-local storage rather than manually tracking thread lifetimes.