CVE-2026-118995: CallBackery versions before 0.62.0 for Perl accept unintended values in form fields checked by createRxValidator
Robert Rothenberg 30 Oct 2026 13:20 UTC
========================================================================
CVE-2026-118995 CPAN Security Group
========================================================================
CVE ID: CVE-2026-118995
Distribution: CallBackery
Versions: before 0.62.0
MetaCPAN: https://metacpan.org/dist/CallBackery
VCS Repo: https://github.com/oetiker/callbackery
CallBackery versions before 0.62.0 for Perl accept unintended values in
form fields checked by createRxValidator
Description
-----------
CallBackery versions before 0.62.0 for Perl accept unintended values in
form fields checked by createRxValidator.
createRxValidator() is documented to anchor the supplied pattern at
both ends, but builds /^${rx}$/ without grouping the pattern. An
alternation such as yes|no then accepts any value starting with yes or
ending with no, and $ also accepts a value with one trailing newline.
An authenticated user can submit values the pattern was meant to
reject, which an application may then write into generated
configuration files.
Problem types
-------------
- CWE-625 Permissive Regular Expression
Solutions
---------
Upgrade to CallBackery 0.62.0 or later.
References
----------
https://metacpan.org/release/OETIKER/CallBackery-0.62.0/changes