Looking for compliance documents? Visit trust.plane.so.

← All advisories

PSA-2026-r9jh

Argus accepted regex patterns of any size

Upgrade to 4.0.0 to stop admins from saving regex patterns that are large enough to exhaust Argus's memory.

Severity
Low
Affected versions
>= 3.2.0, < 4.0.0
Patched in
4.0.0
Published

Details

Argus didn’t limit the size of regex patterns in allow-list rules. Custom detector patterns had a length limit, but a short pattern could still compile to a very large program. During a scan, Argus also compiled each allow-list pattern again for every value it checked.

Impact

A project or workspace admin could save patterns that each take around 110 MB of memory to compile. Because a scan compiled them repeatedly, a few of these patterns could use up Argus’s memory and stop it from working.

Remediation

Upgrade Plane Commercial Edition to 4.0.0. Plane Cloud already runs the fix.

After upgrading, Argus limits regex patterns to 512 characters, and rejects any pattern that would compile to a very large program. Self-hosted admins can change the length limit with ARGUS_MAX_REGEX_LENGTH. If a stored pattern is longer than 4,096 characters or too large to compile, that workspace’s scans fail until you shorten or delete it.

Credit

Found during a security review of Plane.