SOCLYDE logo
Current languageEN
Cybersecurity newscybersecurity

Apache Struts fixes a form-validation flaw

CVE-2026-133637 can affect Struts applications using Bean Validation. Check the plugin, OGNL configuration and fixed framework versions.

Published on

By Soclyde

Illustration: a developer checks a web form alongside application code

In summary

  • Using the Bean Validation plugin is an exposure condition.
  • Struts 7 is affected when its OGNL allowlist is disabled.
  • The flaw is fixed from Struts 6.13.0 and 7.5.0; prefer 7.5.1 on the 7.x branch.

Explore next

Soclyde resources

Article contents

Apache published CVE-2026-133637 on November 30, 2026, affecting the Bean Validation plugin in Apache Struts. In certain configurations, a submitted form value included in a validation message can be evaluated as an expression instead of displayed as text. Apache says this may lead to remote code execution.

Start by checking which applications actually use the plugin. Finding the name Struts in an inventory does not fully describe exposure: versions and configuration matter too.

The conditions Apache specifies

The advisory covers 2.5.0 through 2.5.33, 6.0.0 through 6.12.0, and 7.0.0 through 7.4.0. Applications without Bean Validation are not affected by this flaw. For Struts 7, Apache specifies an additional condition: the OGNL allowlist must be disabled, although it is enabled by default.

The flaw is fixed from 6.13.0 and 7.5.0 on their respective branches. For a 7.x deployment, prefer 7.5.1 or a compatible later release: 7.5.1 also fixes a 7.5.0 regression that removed leading and trailing spaces from request values bound to String properties. Check the application’s branch and record the version included in the artifact actually deployed.

From a validation message to server risk

A form needs to reject invalid input without turning it into an instruction. Apache describes a problem in messages that incorporate the submitted value. The potential consequence concerns execution on the server, rather than merely an error displayed in a browser.

The Canadian Centre for Cyber Security selected this vulnerability for its December 1 advisory and asks administrators to review the references and necessary updates. This is a reason to check inventories, not evidence that a specific application has been compromised.

What portal users can do

If a supplier runs your portal, ask whether it uses Struts and Bean Validation, which version is active and when the fix will be delivered. A portal customer cannot repair its framework by changing an account password.

Do not test the issue by submitting technical expressions to forms on a service you do not administer. Preserve observed errors and report them to support. Assessment belongs in an environment authorized by the application owner.

For teams deploying Struts

IT Services Schneeberger’s deployment analysis recommends prioritizing internet-facing applications, including login, contact and registration forms. Confirm the plugin’s presence in dependencies and then examine the production configuration. A default setting is not evidence if the team has changed it.

Prepare an upgrade to a fixed branch, test invalid-input responses and check that the forms still reject invalid values. For Struts 2.5, plan migration rather than looking for an unannounced fixed 2.5 release. After delivery, ensure the old library is absent from the image or package in use.

The connection with Soclyde

An application may use database credentials or supplier accounts. If an investigation establishes exposure, the team needs to locate and replace those secrets in the relevant systems. Soclyde organizes them in an encrypted local vault; Premium sharing reduces scattered copies between colleagues.

The vault does not apply the Struts patch or protect a secret already loaded into a compromised server process. Software remediation and incident investigation remain necessary. Credential management supports recovery without replacing application maintenance.

What to remember

Check the plugin, version and OGNL configuration together. Deploy a fixed branch and verify the running artifact. To organize maintenance access and any required rotation, contact Soclyde without including secrets in your request.

Frequently asked questions

Is every Struts application vulnerable?

No. The advisory concerns applications using Bean Validation on affected versions. In Struts 7, the OGNL allowlist must also be disabled.

Does changing passwords fix this issue?

No. Patch the framework and verify deployment. Credential rotation may be needed if your investigation finds exposure, but it does not replace the fix.

Which versions should be deployed?

The flaw is fixed from Struts 6.13.0 on the 6.x branch and 7.5.0 on the 7.x branch. For a 7.x deployment, prefer 7.5.1 or a compatible later release. For a 2.5 application, plan and test migration to a fixed branch.

References

Sources and references

Need advice?

Design your password strategy with Soclyde

Schedule a dedicated walkthrough with the team to see how local-first security adapts to your stack.

Talk with us

Keep reading

Put it into practice