Loading advisory.
Loading advisory.
Potential Captcha Validate Bypass in flask-session-captcha
flask-session-captcha is a package which allows users to extend Flask by adding an image based captcha stored in a server side session.
Published 2022-04-25 22:10 UTC · Modified 2025-04-23 18:32 UTC
Severity and EPSS are shown separately. Helm does not combine them into one score. How tiers work
| Package | Ecosystem | Affected | Fixed in | Upgrade command |
|---|---|---|---|---|
| flask-session-captcha | PyPI | < 1.2.1 git commits in https://github.com/Tethik/flask-session-captcha: < 2811ae23a38d33b620fb7a07de8837c6d65c13e4 versions 1.0.0, 1.0.1, 1.0.2, 1.0.3, 1.1.0, 1.2.0 | 1.2.1, 2811ae23a38d33b620fb7a07de8837c6d65c13e4 | pip install --upgrade 'flask-session-captcha>=1.2.1'pip install --upgrade 'flask-session-captcha>=2811ae23a38d33b620fb7a07de8837c6d65c13e4' |
flask-session-captcha is a package which allows users to extend Flask by adding an image based captcha stored in a server side session.
The captcha.validate() function would return None if passed no value (e.g. by submitting a request with an empty form).
If implementing users were checking the return value to be False, the captcha verification check could be bypassed.
Sample vulnerable code:
if captcha.validate() == False:
... # abort
else:
... # do stuffA new version (1.2.1) is available that fixes the issue.
Users can workaround the issue by not explicitly checking that the value is False.
Checking the return value less explicitly should still work.
if not captcha.validate():
... # abort
else:
... # do stuffif captcha.validate():
... # do stuff
else:
... # aborthttps://github.com/Tethik/flask-session-captcha/pull/27
If you have any questions or comments about this advisory:
Open an issue in the github repo
No public exploit code known to Helm's sources (Nuclei templates, Metasploit, Exploit-DB and PoC-in-GitHub). That does not mean none exists.
EPSS went from 0.012 on 2026-11-24 to 0.013 on 2026-11-26, over 2 recorded scores.
| Date | Score | Previous | Model |
|---|---|---|---|
| 2026-11-24 | 0.012 | first score | v2026.06.15 |
| 2026-11-26 | 0.013 | 0.012 | v2026.06.15 |