1. Archivio CVE
  2. 2026
  3. CVE-2026-33318

CVE-2026-33318

8.8 Gravità alta CVSS v3.1 · fonte NVD CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H 8.8 – Alta

Descrizione

Actual is a local-first personal finance tool. Prior to version 26.4.0, any authenticated user (including `BASIC` role) can escalate to `ADMIN` on servers migrated from password authentication to OpenID Connect. Three weaknesses combine: `POST /account/change-password` has no authorization check, allowing any session to overwrite the password hash; the inactive password `auth` row is never removed on migration; and the login endpoint accepts a client-supplied `loginMethod` that bypasses the server's active auth configuration. Together these allow an attacker to set a known password and authenticate as the anonymous admin account created during the multiuser migration. The three weaknesses form a single, sequential exploit chain — none produces privilege escalation on its own. Missing authorization on POST /change-password allows overwriting a password hash, but only matters if there is an orphaned row to target. Orphaned password row persisting after migration provides the target row, but is harmless without the ability to authenticate using it. Client-controlled loginMethod: "password" allows forcing password-based auth, but is useless without a known hash established by step 1. All three must be chained in sequence to achieve the impact. No single weakness independently results in privilege escalation. The single root cause is the missing authorization check on /change-password; the other two are preconditions that make it exploitable. Version 26.4.0 contains a fix.

Prodotti coinvolti

FornitoreProdottoVersionePiattaforma
actualbudget actual < 26.4.0 node.js
Tutte le 13 vulnerabilità di Actualbudget Actual

Tipo di vulnerabilità

CWE-284 Controllo degli accessi improprio

Il prodotto non limita, o limita in modo errato, l’accesso a una risorsa da parte di soggetti non autorizzati.

Impatto sui sistemi

AmbitoImpatto
Altro Dipende dal contesto, Ottenere privilegi o assumere un’altra identità
Quando un meccanismo di protezione non viene applicato o non funziona, un attaccante può compromettere la sicurezza del prodotto: ottenere privilegi, leggere informazioni sensibili, eseguire comandi, eludere i controlli e così via.

Come si previene

Architettura e progettazione · Esercizio Gestisci con molta attenzione l’assegnazione e l’uso dei privilegi, e definisci in modo esplicito le zone di fiducia del software.
Architettura e progettazione · Separazione dei privilegi Suddividi il sistema in compartimenti, con aree sicure i cui confini di fiducia siano tracciati senza ambiguità. Non lasciare uscire i dati sensibili da questi confini e presta sempre attenzione quando interagisci con un compartimento esterno all’area sicura. La suddivisione va prevista già in fase di progettazione e deve favorire la separazione dei privilegi; per decidere quando usare i privilegi e quando rinunciarvi, segui il principio del privilegio minimo.

Tutte le 7.877 CVE di tipo CWE-284, con andamento e prevenzione

Fonte: catalogo CWE del MITRE · cwe.mitre.org