Direct naar de inhoud
⚡ Kritieke cyberalerts voor jouw sector & systemen — direct in je inbox. Aanmelden →
cybernieuws.nl Cybersecurity en informatiebeveiling nieuws alerts live · 14 min 125 bronnen 2 kritiek 38 vandaag
CVE's Videos Dagbriefing

← Terug naar CVE-database

CVE-2026-55250

NONE Gepubliceerd: CWE-294

Beschrijving NL

Maravel, een PHP-framework gericht op afhankelijkheidsinjectie, heeft voorafgaand aan versie 10.74.0 een zeer ernstige Token Replay-kwetsbaarheid die voortvloeit uit een structurele levenscyclusmismatch tussen stateless token-validatie-engines en high-performance relationele caching-lagen. Elke toepassing met een laag cachegeheugen die voortijdige verwijdering veroorzaakt om geheugen vrij te maken en toepassingen met macropay-oplossingen/maravel-framework die tymon/jwt-auth gebruiken voor API-tokenverificatie en beheer van zwarte lijsten of elk ander pakket dat hetzelfde doet, kan worden beïnvloed. Dit architecturale risico kan ook van invloed zijn op native Laravel-toepassingen die cachetags gebruiken in specifieke vluchtige of ontruimingsomgevingen. tymon/jwt-auth zoekt automatisch naar ondersteuning voor cache-tags. Indien gevonden, worden 14-daagse token blacklist-items (jti) krachtig ingepakt in een relationele tymon.jwt-tag. In omgevingen waar het O(1) Atomic Lazy Eviction-model actief is — ofwel native binnen Maravel-Framework v20.x of handmatig teruggevoerd naar v10.x via de expliciete DI-containersingletons in PR #104 (AppCacheTaggedCache en AppCacheTagSet) — wordt een strikt wereldwijd volgplafond (Container::TAGGED_CACHE_TTL_CAP_SECONDS) van 7.200 seconden (2 uur) afgedwongen om het systeem te beveiligen tegen een opgeblazen geheugenindex. Dit plafond verkort de levensduur van de zwarte lijst van 14 dagen krachtig tot maximaal 2 uur, waarna individuele volgsleutels op natuurlijke wijze vervallen en uit het actieve cachevenster verdwijnen. Bovendien, omdat de geoptimaliseerde engine een generatieversiematrix implementeert om O(1) flush-snelheden te bereiken, botst elke programmatische of handmatige aanroep van een tag flush of reset (bijv. Cache::tags([...])->flush()) onmiddellijk op de interne aanwijzer van de atomaire masterversie. Dit verschuift de berekende cryptografische samengestelde hash (sha1($this->tags->getNamespace())) voor alle overlappende componenten, waardoor de hele bestaande index onmiddellijk onbereikbaar wordt. Bijgevolg worden door een natuurlijke vervaldatum van 2 uur of een tussenliggende uitvoering van het doorspoelen van de tag (zoals de cache die op natuurlijke wijze oude waarden opschoont om geheugen vrij te maken), de ongeldigheidsstatusrecords volledig weggevaagd. Omdat de fysieke cryptografische handtekeningen van de tokens maximaal 14 dagen structureel geldig blijven, worden gestolen, gekaapte of legitiem uitgelogde tokens onmiddellijk en geruisloos opgewekt over de hele API-gateway, waardoor de applicatie kritisch kwetsbaar blijft voor wijdverspreide Token Replay-aanvallen. Omdat dit probleem wordt veroorzaakt door een stroomopwaartse architecturale veronderstelling binnen het tymon/jwt-auth-pakket in plaats van een kerndefect binnen het raamwerk, is er geen directe upgrade van de raamwerkversie die deze botsing in de levenscyclus veilig kan omzeilen zonder de grenzen voor het recyclen van zakelijke cache te overschrijden. Maravel versie 10.74.0 introduceerde een manier om de nieuwe vaste gelabelde cache van 20.x naar 10.x te backporten door TagSet en TaggedCache van DI op te lossen, waardoor deze latente kwetsbaarheid in de architecturale levenscyclus werd ontdekt. Gebruikers moeten de onderstaande ontkoppelde configuratie-workaround toepassen. Zorg er als tijdelijke oplossing voor dat de grootte van het cachegeheugen geen vroege natuurlijke verwijderingen uit de cache genereert om ruimte vrij te maken, waardoor jwt-id's op de zwarte lijst worden verwijderd voordat ze verlopen. Toepassingen moeten vlakke authenticatievectoren loskoppelen van het relationele tagging-subsysteem. Dit dwingt token-ID's om rechtstreeks naar de primaire cachesleutelruimte te schrijven als platte, niet-gelabelde sleutelwaardeparen waar ze hun niet-afgeknipte 14-daagse levenscyclus veilig behouden.

Origineel (Engels) tonen

Maravel, a PHP framework oriented towards dependency injection, prior to version 10.74.0 has a high-severity Token Replay Vulnerability arising from a structural lifecycle mismatch between stateless token validation engines and high-performance relational caching layers. Any application with low cache memory that causes premature eviction to free up memory and applications running macropay-solutions/maravel-framework that utilize tymon/jwt-auth for API token authentication and blacklist management or any other package that does the same may be affected. This architectural risk might also impact native Laravel applications utilizing cache tags under specific volatile or eviction-capped environments. tymon/jwt-auth automatically probes for cache tag support. If found, it forcefully wraps 14-day token blacklist entries (jti) inside a relational tymon.jwt tag. In environments where the O(1) Atomic Lazy Eviction model is active — either natively inside Maravel-Framework v20.x or manually backported into v10.x via the explicit DI container singletons provided in PR #104 (AppCacheTaggedCache and AppCacheTagSet) — a strict global tracking ceiling (Container::TAGGED_CACHE_TTL_CAP_SECONDS) of 7,200 seconds (2 hours) is enforced to secure the system against memory index bloat. This ceiling forcefully truncates the 14-day blacklist lifespan down to a maximum of 2 hours, after which individual tracking keys naturally expire and disappear from the active cache window. Furthermore, because the optimized engine implements a generational version matrix to achieve O(1) flush speeds, any programmatic or manual invocation of a tag flush or reset (e.g., Cache::tags([...])->flush()) instantly bumps the internal atomic master version pointer. This shifts the computed cryptographic composite hash (sha1($this->tags->getNamespace())) for all overlapping components, rendering the entire existing index immediately unreachable. Consequently, through either natural 2-hour expiration or an intervening tag flush execution (like the cache naturally cleaning old values to free up memory), the invalidation state records are entirely wiped out. Because the tokens' physical cryptographic signatures remain structurally valid for up to 14 days, stolen, hijacked, or legitimately logged-out tokens are instantly and silently resurrected across the entire API gateway, leaving the application critically vulnerable to widespread Token Replay Attacks. Because this issue is caused by an upstream architectural assumption within the tymon/jwt-auth package rather than a core defect inside the framework, there is no direct framework version upgrade that can safely bypass this lifecycle collision without breaking business cache recycling bounds. Maravel version 10.74.0 introduced a way to backport the new fixed tagged cache from 20.x into 10.x by resolving TagSet and TaggedCache from DI, which is how this latent architectural lifecycle vulnerability was discovered. Users must apply the decoupled configuration workaround outlined below. As a workaround, make sure that cache memory size does not generate early natural evictions from cache to free up space, deleting blacklisted jwt ids before they expire. Applications must decouple flat authentication vectors from the relational tagging subsystem. This forces token identifiers to write directly to the primary cache keyspace as flat, un-tagged key-value pairs where they securely retain their unclipped 14-day lifecycle.

References