CVE-2026-86688
>_ Opis
Tłumaczenie automatyczne – może zawierać nieścisłości.
Luka w zabezpieczeniach związanych z utrwalaniem sesji w zespole alembicznym ash_authentication umożliwia atakującemu, który może umieścić identyfikator sesji w przeglądarce ofiary, utrzymanie uwierzytelnionej sesji po zalogowaniu się ofiary.
AshAuthentication.Plug.Helpers.store_in_session/2 zapisuje uwierzytelniony podmiot w istniejącej sesji za pomocą Plug.Conn.put_session/3 i nigdy nie wywołuje Plug.Conn.configure_session(renew: true), więc identyfikator, z którym przybył odwiedzający, zostaje przeniesiony do jego uwierzytelnionej sesji. Każde zdarzenie uwierzytelniające osiąga tę jedną funkcję: domyślny sukces/4 wprowadzony przez AshAuthentication.Phoenix.Controller.__using__/1, kontroler AuthController wyemitowany przez mix ash_authentication_phoenix.install i automatyczne logowanie do zapamiętania mnie. AshAuthentication.Phoenix.Plug.store_in_session/2 jest do niego defdelegatem. Wylogowanie również nie powoduje zamknięcia okna, ponieważ clear_session/2 kończy się Plug.Conn.clear_session/1, który czyści zawartość sesji, ale pozostawia identyfikator nienaruszony, więc wprowadzony identyfikator przetrwa cykl wylogowania i logowania.
Ten problem dotyczy ash_authentication: od 0.2.0 przed 4.15.0 i od 5.0.0-rc.0 przed 5.0.0-rc.14.
>_ Słabości (CWE)
>_ Referencje
- https://cna.erlef.org/cves/CVE-2026-86688.html
- https://github.com/team-alembic/ash_authentication/commit/3e1d452cbf1564e87f5f97be882b66fe25af7cfa
- https://github.com/team-alembic/ash_authentication/commit/872db454405ecad4fcdabd9ff3d8755d1d6a69ae
- https://github.com/team-alembic/ash_authentication/commit/a939dde9b917c072cdf10c4b0913a9886a4b0231
- https://github.com/team-alembic/ash_authentication/security/advisories/GHSA-v577-944g-7h3x
- https://osv.dev/vulnerability/EEF-CVE-2026-86688
Dane podatności pochodzą z oficjalnych źródeł (CVE® List / NVD). Opisy po polsku są tłumaczone automatycznie i mogą zawierać nieścisłości – na stronie rekordu można wyświetlić wersję angielską.
This product uses the NVD API but is not endorsed or certified by the NVD.
Copyright © 1999–2026, The MITRE Corporation. CVE is a registered trademark and the CVE logo is a registered trademark of The MITRE Corporation.
CVE Usage: MITRE hereby grants you a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare derivative works of, publicly display, publicly perform, sublicense, and distribute Common Vulnerabilities and Exposures (CVE®). Any copy you make for such purposes is authorized provided that you reproduce MITRE's copyright designation and this license in any such copy. ALL DOCUMENTS AND THE INFORMATION CONTAINED THEREIN PROVIDED BY MITRE ARE PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND.
NVD Terms of Use / CVE® Terms of Use / nvd.nist.gov / cve.org