Read the docs
TI-2024-27729 Aliases CVE-2024-41667GHSA-7726-43hg-m23v

OpenAM FreeMarker template injection

Priority MEDIUM 46CWE-94Published · Updated

Key facts

Attack vector
Network
Privileges required
Low
User interaction
None
Attack complexity
Low
Impact type
Code execution
Confidentiality · integrity · availability
High · High · High
Fix status
Fixed

Attack profile from CVSS 3.1 · CNA. Fix status from CNA and GitHub. Impact type from CWE-94.

Summary

OpenAM is an open access management solution. In versions 15.0.3 and prior, the `getCustomLoginUrlTemplate` method in RealmOAuth2ProviderSettings.java is vulnerable to template injection due to its usage of user input. Although the developer intended to implement a custom URL for handling login to override the default OpenAM login, they did not restrict the `CustomLoginUrlTemplate`, allowing it to be set freely. Commit fcb8432aa77d5b2e147624fe954cb150c568e0b8 introduces `TemplateClassResolver.SAFER_RESOLVER` to disable the resolution of commonly exploited classes in FreeMarker template injection. As of time of publication, this fix is expected to be part of version 15.0.4.

Why it matters now

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.03536 89th percentileScored 2026-11-07
Fix Fixed OpenAM (OpenIdentityPlatform): 15.0.4org.openidentityplatform.openam:openam-oauth2 (Maven): 15.0.4

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
None
Automatable
No
Technical impact
Total

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
OpenIdentityPlatformOpenAMbefore 15.0.415.0.4Patch availableCNA
—org.openidentityplatform.openam:openam-oauth2 (Maven)before 15.0.415.0.4Patch availableGHSA-7726-43hg-m23v
  • OpenAM VendorOpenIdentityPlatform Affected before 15.0.4 Fixed in 15.0.4 Patch available CNA
  • org.openidentityplatform.openam:openam-oauth2 (Maven) Vendor— Affected before 15.0.4 Fixed in 15.0.4 Patch available GHSA-7726-43hg-m23v

CPE names CISA-ADP · 1

CPEVersionsRoleVendor
cpe:2.3:a:openidentityplatform:openam:*:*:*:*:*:*:*:*——OpenIdentityPlatform

Remediation

  • Fix · CNA OpenAM (OpenIdentityPlatform) Fixed in 15.0.4
  • Fix · GHSA-7726-43hg-m23v org.openidentityplatform.openam:openam-oauth2 (Maven) Fixed in 15.0.4 Advisory →

Timeline

  1. 2026-10-02 Threatist record created from CVE-2024-41667
  2. 2026-10-03 Alias added: GHSA-7726-43hg-m23v

References

  • TI-2025-20332 OpenDJ Denial of Service (Dos) using alias loop CVSS 4.0HIGH 8.7
  • TI-2026-25836 Pre-Authentication Remote Code Execution via `jato.clientSession` Deserialization in OpenAM CVSS 4.0CRITICAL 9.3
  • TI-2026-86693 Session token disclosure in OpenAM notification WebSocket CVSS 4.0CRITICAL 10.0
  • TI-2026-86692 Authentication bypass in OpenAM SAML login accepts unsigned assertions CVSS 4.0CRITICAL 9.3
  • TI-2026-86691 Privilege escalation in OpenAM via self-registration attribute bypass CVSS 4.0CRITICAL 9.3
  • TI-2026-86685 Unbounded Java deserialization in OpenAM enables denial of service CVSS 4.0HIGH 8.7
See all 54 →

Sources