SA-CONTRIB-2026-308: Critical severity composer/drupal/allowed_languages vulnerability
The Allowed Languages module makes it possible to set restrictions on which content a user can edit based on language. The module doesn't sufficiently protect against using a disallowed language during content creation. This is mitigated by the fact that the user must have access to create content in at least one language.
Credit
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
composer/drupal/allowed_languagesto a version that resolves this vulnerability.Fixed in 2.0.3
Event History
Frequently Asked Questions
Who can exploit this issue?
A user must have permission to create content in at least one language. The issue affects attempts to enforce restrictions on which languages that user may use when creating content.
What access does an attacker need?
The attacker needs authenticated access sufficient to create content in at least one language. No additional prerequisite is stated.