CVE-2025-4754: Missing Session Revocation on Logout in ash_authentication_phoenix
Insufficient Session Expiration vulnerability in ash-project ash_authentication_phoenix allows Session Hijacking. This vulnerability is associated with program files lib/ash_authentication_phoenix/controller.ex.
This issue affects ash_authentication_phoenix until 2.10.0.
Security readout for executives and security teams
Plain-English summary
Logging out may not invalidate an existing session in affected ash_authentication_phoenix deployments. Someone possessing that session could continue accessing the application after the user believes access ended. The supplied CVSS 4.0 score is 2.3, indicating limited confidentiality and integrity impact without availability impact.
Executive priority
Treat as a routine but time-bound authentication fix. Prioritize deployments handling sensitive data or operating on shared devices. Emergency response is not supported by the supplied low severity or exploitation evidence, but delayed remediation leaves users with misleading logout protection.
Technical view
CVE-2025-4754 is a CWE-613 insufficient session expiration flaw associated with lib/ash_authentication_phoenix/controller.ex. Logout does not reliably revoke the existing session, enabling continued reuse and potential session hijacking. The bundle describes versions before 2.10.0 as affected, but its structured version entries are incomplete and should be verified against the vendor advisory.
Likely exposure
Exposure is limited to applications using affected ash_authentication_phoenix versions and relying on logout to revoke sessions. Risk becomes relevant when another party already possesses a valid session. Internet-facing applications, shared devices, and sensitive authenticated functions increase practical business concern.
Exploitation context
The source bundle provides no evidence of active exploitation, and the CVE is not listed as KEV. The CVSS vector indicates network reachability but also required preconditions and user participation. This is primarily a persistence opportunity after session access is obtained, not evidence of initial account compromise.
Researcher notes
The supplied record identifies controller.ex and references pull request 634 plus commit a3253fb4fc7145aeb403537af1c24d3a8d51ffb1. Structured affected-version entries list isolated identifiers with defaultStatus unaffected, conflicting with the narrative range. Confirm exact vulnerable and fixed versions from the vendor advisory before final asset classification.
Mitigation direction
Inventory applications and lockfiles for ash_authentication_phoenix and record deployed versions.
Upgrade to the vendor-confirmed fixed release after checking the advisory's precise affected range.
Apply the referenced vendor patch if an immediate supported upgrade is unavailable.
Consider invalidating existing sessions after remediation where operationally appropriate.
Review vendor guidance for any additional session-revocation configuration requirements.
Validation and detection
Confirm production package versions against the vendor advisory and resolved dependency lockfiles.
Test in a controlled environment that a session becomes unusable immediately after logout.
Verify direct logout paths and application-specific logout integrations enforce revocation.
Review authentication logs for session use continuing after recorded logout events.
Retest session behavior after upgrading or applying the vendor patch.
Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.
Potential ATT&CK relevance
Conservative CVE-to-ATT&CK context
These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.
ATT&CK lookup starting points
Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.
cwe · low confidence lookup
CWE-613: Exact CWE lookup
Use the exact CWE identifier as the starting point before reviewing related ATT&CK behavior. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.
These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.
We collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.
CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.
CWE-613 · source CWE mapping
Insufficient Session Expiration
Insufficient Session Expiration represents a recurring weakness pattern that can create exploitable paths when design, validation, or implementation controls are missing.