cve-2025-4754

LOW CVSS 2.3 opencve
Description

Insufficient Session Expiration vulnerability in team-alembic ash_authentication_phoenix allows a session token captured before sign-out to remain usable afterwards. The default sign_out/2 that AshAuthentication.Phoenix.Controller injects into an application's auth controller only calls Plug.Conn.clear_session/1. It never revokes the stored session or bearer tokens, so a token obtained before sign-out, through script injection, interception or device theft, keeps authenticating until its own expiry. Changing the password still revokes it. This issue affects ash_authentication_phoenix: from 0.1.0 before 2.10.0.

Timeline
Published
2025-06-17 15:15 UTC
Last Modified
2026-09-22
CVSS Details

CVSS details not available.

Affected Products

No product information available.

Weaknesses (CWE)
CVSS metrics
Version Base Severity Vector Exploitability Impact Source
4.0 2.3 LOW CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N mitre
4.0 2.3 LOW CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X nvd
4.0 2.3 LOW CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N opencve
References

No references available.

Linked Vulnerabilities

No linked vulnerabilities found.

{
  "advisories": [
    {
      "id": "EUVD-2025-18506",
      "source": "euvd",
      "title": "ash_authentication_phoenix has Insufficient Session Expiration",
      "url": "https://euvd.enisa.europa.eu/vulnerability/EUVD-2025-18506"
    },
    {
      "id": "GHSA-f7gq-h8jv-h3cq",
      "source": "ghsa",
      "title": "ash_authentication_phoenix has Insufficient Session Expiration",
      "url": "https://github.com/advisories/GHSA-f7gq-h8jv-h3cq"
    }
  ],
  "cve": "CVE-2025-4754",
  "enrichment": {
    "created": "2026-04-28T11:15:26.099683+00:00",
    "updated": "2026-09-22T10:30:17.560831+00:00",
    "vendors": []
  },
  "epss": {
    "score": 0.005
  },
  "mitre": {
    "cpes": [
      "cpe:2.3:a:team-alembic:ash_authentication_phoenix:*:*:*:*:*:*:*:*"
    ],
    "created": "2025-06-17T14:31:37.006000+00:00",
    "description": "Insufficient Session Expiration vulnerability in team-alembic ash_authentication_phoenix allows a session token captured before sign-out to remain usable afterwards.\n\nThe default sign_out/2 that AshAuthentication.Phoenix.Controller injects into an application's auth controller only calls Plug.Conn.clear_session/1. It never revokes the stored session or bearer tokens, so a token obtained before sign-out, through script injection, interception or device theft, keeps authenticating until its own expiry. Changing the password still revokes it.\n\nThis issue affects ash_authentication_phoenix: from 0.1.0 before 2.10.0.",
    "metrics": {
      "cvssV2_0": {},
      "cvssV3_0": {},
      "cvssV3_1": {},
      "cvssV4_0": {
        "score": 2.3,
        "vector": "CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N"
      }
    },
    "mitre_repo_path": "cves/2025/4xxx/CVE-2025-4754.json",
    "references": [
      "https://cna.erlef.org/cves/CVE-2025-4754.html",
      "https://github.com/team-alembic/ash_authentication_phoenix/commit/05ab4f438bf0cd0fdfb279d912bbe0d2c3620e02",
      "https://github.com/team-alembic/ash_authentication_phoenix/commit/a3253fb4fc7145aeb403537af1c24d3a8d51ffb1",
      "https://github.com/team-alembic/ash_authentication_phoenix/pull/634",
      "https://github.com/team-alembic/ash_authentication_phoenix/security/advisories/GHSA-f7gq-h8jv-h3cq",
      "https://osv.dev/vulnerability/EEF-CVE-2025-4754"
    ],
    "title": "Missing Session Revocation on Logout in ash_authentication_phoenix",
    "updated": "2026-09-22T09:23:20.437000+00:00",
    "vendors": [
      "team-alembic",
      "team-alembic$PRODUCT$ash_authentication_phoenix"
    ],
    "weaknesses": [
      "CWE-613"
    ]
  },
  "nvd": {
    "cpes": [],
    "created": "2025-06-17T15:15:53.273000+00:00",
    "description": "Insufficient Session Expiration vulnerability in team-alembic ash_authentication_phoenix allows a session token captured before sign-out to remain usable afterwards.\n\nThe default sign_out/2 that AshAuthentication.Phoenix.Controller injects into an application's auth controller only calls Plug.Conn.clear_session/1. It never revokes the stored session or bearer tokens, so a token obtained before sign-out, through script injection, interception or device theft, keeps authenticating until its own expiry. Changing the password still revokes it.\n\nThis issue affects ash_authentication_phoenix: from 0.1.0 before 2.10.0.",
    "metrics": {
      "cvssV2_0": {},
      "cvssV3_0": {},
      "cvssV3_1": {},
      "cvssV4_0": {
        "score": 2.3,
        "vector": "CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X"
      }
    },
    "nvd_repo_path": "2025/CVE-2025-4754.json",
    "references": [
      "https://cna.erlef.org/cves/CVE-2025-4754.html",
      "https://github.com/team-alembic/ash_authentication_phoenix/commit/05ab4f438bf0cd0fdfb279d912bbe0d2c3620e02",
      "https://github.com/team-alembic/ash_authentication_phoenix/commit/a3253fb4fc7145aeb403537af1c24d3a8d51ffb1",
      "https://github.com/team-alembic/ash_authentication_phoenix/pull/634",
      "https://github.com/team-alembic/ash_authentication_phoenix/security/advisories/GHSA-f7gq-h8jv-h3cq",
      "https://osv.dev/vulnerability/EEF-CVE-2025-4754"
    ],
    "title": null,
    "updated": "2026-09-22T10:17:08.407000+00:00",
    "vendors": [],
    "weaknesses": [
      "CWE-613"
    ]
  },
  "opencve": {
    "changes": [
      {
        "created": "2025-06-17T14:45:00+00:00",
        "data": [
          {
            "details": {
              "new": "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.\n\nThis issue affects ash_authentication_phoenix until 2.10.0.",
              "old": null
            },
            "type": "description"
          },
          {
            "details": {
              "new": "Missing Session Revocation on Logout in ash_authentication_phoenix",
              "old": null
            },
            "type": "title"
          },
          {
            "details": {
              "added": [
                "CWE-613"
              ],
              "removed": []
            },
            "type": "weaknesses"
          },
          {
            "details": {
              "added": [
                "https://github.com/team-alembic/ash_authentication_phoenix/pull/634",
                "https://github.com/team-alembic/ash_authentication_phoenix/security/advisories/GHSA-f7gq-h8jv-h3cq"
              ],
              "removed": []
            },
            "type": "references"
          },
          {
            "details": {
              "added": {
                "cvssV4_0": {
                  "score": 2.3,
                  "vector": "CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N"
                }
              },
              "removed": {},
              "updated": {}
            },
            "type": "metrics"
          }
        ],
        "id": "6ca5134d-f4bb-445b-a950-d60b6476359f"
      },
      {
        "created": "2025-06-17T15:15:00+00:00",
        "data": [
          {
            "details": {
              "added": {
                "ssvc": {
                  "options": {
                    "Automatable": "no",
                    "Exploitation": "none",
                    "Technical Impact": "partial"
                  },
                  "version": "2.0.3"
                }
              },
              "removed": {},
              "updated": {}
            },
            "type": "metrics"
          }
        ],
        "id": "f363d59c-9bdf-47bb-a043-312757a157db"
      },
      {
        "created": "2025-07-04T09:30:00+00:00",
        "data": [
          {
            "details": {
              "added": [
                "https://github.com/team-alembic/ash_authentication_phoenix/commit/a3253fb4fc7145aeb403537af1c24d3a8d51ffb1"
              ],
              "removed": []
            },
            "type": "references"
          }
        ],
        "id": "59996d16-f64b-437c-921d-dbb63ece995f"
      },
      {
        "created": "2025-07-12T13:45:00+00:00",
        "data": [
          {
            "details": {
              "added": {},
              "removed": {},
              "updated": {
                "epss": {
                  "new": {
                    "score": 0.00192
                  },
                  "old": {
                    "score": 0.00153
                  }
                }
              }
            },
            "type": "metrics"
          }
        ],
        "id": "b9c834f8-326d-4866-9356-8d39f0148cfe"
      },
      {
        "created": "2025-09-02T16:15:00+00:00",
        "data": [
          {
            "details": [
              "team-alembic",
              "team-alembic$PRODUCT$ash_authentication_phoenix"
            ],
            "type": "first_time"
          },
          {
            "details": {
              "added": [
                "cpe:2.3:a:team-alembic:ash_authentication_phoenix:*:*:*:*:*:*:*:*"
              ],
              "removed": []
            },
            "type": "cpes"
          },
          {
            "details": {
              "added": [
                "team-alembic",
                "team-alembic$PRODUCT$ash_authentication_phoenix"
              ],
              "removed": []
            },
            "type": "vendors"
          }
        ],
        "id": "abaf8634-3dad-4b5e-8a6b-cc44740abfcc"
      },
      {
        "created": "2026-04-06T16:45:00+00:00",
        "data": [
          {
            "details": {
              "added": [
                "https://cna.erlef.org/cves/CVE-2025-4754.html",
                "https://osv.dev/vulnerability/EEF-CVE-2025-4754"
              ],
              "removed": []
            },
            "type": "references"
          }
        ],
        "id": "9eb8fb08-1c8e-4a6e-a7fd-e75f2c75ae89"
      },
      {
        "created": "2026-09-22T09:45:00+00:00",
        "data": [
          {
            "details": {
              "new": "Insufficient Session Expiration vulnerability in team-alembic ash_authentication_phoenix allows a session token captured before sign-out to remain usable afterwards.\n\nThe default sign_out/2 that AshAuthentication.Phoenix.Controller injects into an application's auth controller only calls Plug.Conn.clear_session/1. It never revokes the stored session or bearer tokens, so a token obtained before sign-out, through script injection, interception or device theft, keeps authenticating until its own expiry. Changing the password still revokes it.\n\nThis issue affects ash_authentication_phoenix: from 0.1.0 before 2.10.0.",
              "old": "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.\n\nThis issue affects ash_authentication_phoenix until 2.10.0."
            },
            "type": "description"
          },
          {
            "details": {
              "added": [
                "https://github.com/team-alembic/ash_authentication_phoenix/commit/05ab4f438bf0cd0fdfb279d912bbe0d2c3620e02"
              ],
              "removed": []
            },
            "type": "references"
          }
        ],
        "id": "9da6d225-c580-40de-b1e1-4bf067eb6f33"
      }
    ],
    "cpes": {
      "data": [
        "cpe:2.3:a:team-alembic:ash_authentication_phoenix:*:*:*:*:*:*:*:*"
      ],
      "providers": [
        "mitre"
      ]
    },
    "created": {
      "data": "2025-06-17T14:31:37.006000+00:00",
      "provider": "mitre"
    },
    "description": {
      "data": "Insufficient Session Expiration vulnerability in team-alembic ash_authentication_phoenix allows a session token captured before sign-out to remain usable afterwards.\n\nThe default sign_out/2 that AshAuthentication.Phoenix.Controller injects into an application's auth controller only calls Plug.Conn.clear_session/1. It never revokes the stored session or bearer tokens, so a token obtained before sign-out, through script injection, interception or device theft, keeps authenticating until its own expiry. Changing the password still revokes it.\n\nThis issue affects ash_authentication_phoenix: from 0.1.0 before 2.10.0.",
      "provider": "mitre"
    },
    "metrics": {
      "cvssV2_0": {
        "data": {},
        "provider": null
      },
      "cvssV3_0": {
        "data": {},
        "provider": null
      },
      "cvssV3_1": {
        "data": {},
        "provider": null
      },
      "cvssV4_0": {
        "data": {
          "score": 2.3,
          "vector": "CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N"
        },
        "provider": "mitre"
      },
      "epss": {
        "data": {
          "score": 0.005
        },
        "provider": "first"
      },
      "kev": {
        "data": {},
        "provider": null
      },
      "ssvc": {
        "data": {
          "options": {
            "Automatable": "no",
            "Exploitation": "none",
            "Technical Impact": "partial"
          },
          "version": "2.0.3"
        },
        "provider": "vulnrichment"
      },
      "threat_severity": {
        "data": null,
        "provider": null
      }
    },
    "references": {
      "data": [
        "https://cna.erlef.org/cves/CVE-2025-4754.html",
        "https://github.com/team-alembic/ash_authentication_phoenix/commit/05ab4f438bf0cd0fdfb279d912bbe0d2c3620e02",
        "https://github.com/team-alembic/ash_authentication_phoenix/commit/a3253fb4fc7145aeb403537af1c24d3a8d51ffb1",
        "https://github.com/team-alembic/ash_authentication_phoenix/pull/634",
        "https://github.com/team-alembic/ash_authentication_phoenix/security/advisories/GHSA-f7gq-h8jv-h3cq",
        "https://osv.dev/vulnerability/EEF-CVE-2025-4754"
      ],
      "providers": [
        "mitre",
        "nvd"
      ]
    },
    "title": {
      "data": "Missing Session Revocation on Logout in ash_authentication_phoenix",
      "provider": "mitre"
    },
    "updated": {
      "data": "2026-09-22T09:23:20.437000+00:00",
      "provider": "mitre"
    },
    "vendors": {
      "data": [
        "team-alembic",
        "team-alembic$PRODUCT$ash_authentication_phoenix"
      ],
      "providers": [
        "mitre"
      ]
    },
    "weaknesses": {
      "data": [
        "CWE-613"
      ],
      "providers": [
        "mitre",
        "nvd"
      ]
    }
  },
  "vulnrichment": {
    "cpes": [],
    "created": "2025-06-17T14:31:37.006000+00:00",
    "description": "Insufficient Session Expiration vulnerability in team-alembic ash_authentication_phoenix allows a session token captured before sign-out to remain usable afterwards.\n\nThe default sign_out/2 that AshAuthentication.Phoenix.Controller injects into an application's auth controller only calls Plug.Conn.clear_session/1. It never revokes the stored session or bearer tokens, so a token obtained before sign-out, through script injection, interception or device theft, keeps authenticating until its own expiry. Changing the password still revokes it.\n\nThis issue affects ash_authentication_phoenix: from 0.1.0 before 2.10.0.",
    "metrics": {
      "cvssV2_0": {},
      "cvssV3_0": {},
      "cvssV3_1": {},
      "cvssV4_0": {},
      "kev": {},
      "ssvc": {
        "options": {
          "Automatable": "no",
          "Exploitation": "none",
          "Technical Impact": "partial"
        },
        "version": "2.0.3"
      }
    },
    "references": [],
    "title": "Missing Session Revocation on Logout in ash_authentication_phoenix",
    "updated": "2025-06-17T14:40:40.526000+00:00",
    "vendors": [],
    "vulnrichment_repo_path": "2025/4xxx/CVE-2025-4754.json",
    "weaknesses": []
  }
}
Enrichment data
View JSON API Download JSON