FreeBSD VuXML: Documenting security issues in FreeBSD and the FreeBSD Ports Collection

mod_wsgi -- race condition at process start can leak request context between requests

Affected packages
ap24-py312-mod_wsgi < 6.1.1

Details

VuXML ID 83f5b20f-4429-4ee1-a764-66a231ed9dab
Discovery 2026-10-13
Entry 2026-10-16

Graham Dumpleton reports:

A race condition at process startup could let two threads be handed the same per-thread record, because records were allocated from an Apache memory pool shared by every thread without a lock. Threads sharing a record also shared the mod_wsgi.thread_id value and, for named application groups, the same Python thread state, so one request's context (such as session data) could leak into another concurrent request. On Python 3.14 and later the shared thread state could instead crash the worker process.

References

URL https://github.com/GrahamDumpleton/mod_wsgi/security/advisories/GHSA-q67r-wxfm-97hj
URL https://modwsgi.readthedocs.io/en/latest/release-notes/version-6.1.1.html