CuraSec

Learn active

Python str.lower() as a security vulnerability via Unicode folding

2026-08-26 11:42 UTC · HN (security) · read the source ↗ #python#appsec#vulnerability-class
  • Engineer — Learn: Highlights how Unicode case-folding edge cases in str.lower() can silently break security-sensitive comparisons (e.g., allowlist checks, hostname validation). No active exploitation or CVE, but worth auditing any Python code that uses case normalization for access control or identity checks.
  • SOC/IR — Skip
  • Leader — Skip
This entry was curated and judged by AI (Claude) with automated enrichment (CISA KEV / EPSS / public PoC). Verify against the original source before acting. Found a bad verdict? Report it — confirmed errors go to the corrections log.