Skip to main content

Aggie CVE-2025-22381

HIGH
Unverified Password Change (CWE-620)
2025-10-16 cve@mitre.org
8.2
CVSS 3.1 · Vendor: mitre
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Request password reset for victim account
  2. Delivery
    Inject attacker-controlled Host header
  3. Exploit
    Victim clicks poisoned reset link
  4. Execution
    Capture leaked reset token
  5. Impact
    Take over victim account

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A07:2025 - Authentication Failures
ASVS 5.0
V6 - Authentication Password change verification
Exploitation Conditions

Requires the Aggie 2.6.1 forgot-password/reset feature to be in use and reachable by the attacker. The attacker triggers a reset for a target account while injecting a crafted Host header, so the application generates the reset link from the attacker-supplied host instead of a trusted fixed base URL. Realistic exploitation then depends on the victim clicking the poisoned reset link (or the mail infrastructure prefetching it) so the reset token reaches the attacker. Limiting factors: exploitation fails if Aggie is deployed behind configuration that pins an absolute base/canonical URL or validates the Host header against an allowlist, and it hinges on victim interaction with the reset email - so it is not a silent, no-interaction takeover despite the NVD UI:N rating.

Impact

This is a genuine account-takeover flaw but several signals pull in different directions. The NVD CVSS 8.2 vector (AV:N/AC:L/PR:N/UI:N) describes a network-reachable, low-complexity, unauthenticated issue, which on paper is high priority. However, the impact metrics are internally inconsistent with the described outcome: a Host Header injection in forgot-password that lets an attacker reset another user's password is a classic password-reset-poisoning account takeover, which should carry high integrity impact, yet NVD scores I:N (with C:H/A:L) - this looks under-scored on integrity and should be verified. The UI:N rating is also questionable, because realistic password-reset poisoning usually requires the victim to click the poisoned reset link, so effective complexity is higher than AC:L/UI:N implies. No EPSS score and no KEV listing are present in the supplied data, so there is no evidence of active or widespread exploitation; the vuln.today decision label is 'this_week', consistent with a serious-but-not-emergency issue rather than act_now/emergency. Three GitHub references (including two dedicated vulnerability-research repos) indicate public PoC material exists, which raises practical risk. The strongest mitigating factor is deployment footprint: Aggie is a niche open-source crisis/election-monitoring tool, so the real-world blast radius is small. Net assessment: a real, patch-worthy account-takeover bug warranting prompt remediation where Aggie is deployed, but not a mass-exploitation emergency given low prevalence and no confirmed in-the-wild activity.

Exploit ScenarioDerived

An attacker submits a password-reset request for a target Aggie user while tampering with the HTTP Host header so the application builds the reset URL using an attacker-controlled hostname. When the victim opens the resulting reset email and clicks the poisoned link, the reset token is delivered to the attacker's server, who then completes the reset and takes over the account. Public PoC references for this CVE exist, though they are not verified as working exploit code.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
No patch listed yet 0.6% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Nov 05, 2026

Password reset token theft in Aggie 2.6.1 lets an unauthenticated remote attacker take over accounts by abusing the forgot-password flow: a crafted Host header is injected while a reset is triggered, so the reset email is generated with a link pointing at an attacker-controlled host instead of a trusted base URL. The independent assessment rates it CVSS 8.2 (AV:N/AC:L/PR:N/UI:R/C:H/I:H/A:L), because the exposed reset token only reaches the attacker once the victim clicks the poisoned link, or a mail gateway prefetches it - so this is not a silent, no-interaction takeover even though NVD scored UI:N. There is no CISA KEV entry; a public PoC reference exists, but it is not verified as working exploit code, and deployments that pin an absolute base URL or validate the Host header against an allowlist are not exploitable.

RemediationAI

No vendor-released patch or fixed version is identified in the available data; the upstream repository reference is a source tree link, not a tagged fix release, so confirm with the maintainers whether a corrected build exists before relying on an upgrade. Until then, the practical fix is configuration-level: terminate Aggie behind a reverse proxy that rejects or rewrites any request whose Host header is not on an explicit allowlist, and set an absolute canonical base URL for generated links where the application supports it - the trade-off is that hard-coding the base URL breaks multi-domain or multi-tenant deployments, and a strict Host allowlist breaks access by IP, alternate DNS names or health-check probes. If neither can be enforced quickly, disable the self-service forgot-password flow and have administrators issue resets out of band, accepting the added helpdesk load, and force-expire outstanding reset tokens while monitoring mail logs and application logs for reset messages generated with unexpected hostnames. Supporting detail is in the upstream tree (https://github.com/TID-Lab/aggie/tree/a9d5becaff3ea90720ea7213c80825e253b8a730) and the third-party research and reproduction repositories (https://github.com/bugdotexe/Vulnerability-Research/tree/main/CVE-2025-22381 and https://github.com/pescada-dev/CVE-2025-22381).

Affected ProductsAI

Aggie 2.6.1 is the affected release; the vulnerable component is the built-in forgot-password / password-reset flow that constructs reset links from the request Host header. No CPE identifiers and no version-range data were provided in the feed, so the affected set should be treated as Aggie 2.6.1 and any deployment built from the referenced upstream tree (https://github.com/TID-Lab/aggie/tree/a9d5becaff3ea90720ea7213c80825e253b8a730) without independent Host header validation or a pinned canonical base URL. Third-party analysis and reproduction material is published at https://github.com/bugdotexe/Vulnerability-Research/tree/main/CVE-2025-22381 and https://github.com/pescada-dev/CVE-2025-22381. Deployments that pin an absolute base/canonical URL or allowlist the Host header at the proxy are not affected in practice.

Affects your stack

Find out whether the stacks and servers you run are on an affected version.

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The flaw is CWE-620 (Unverified Password Change) realized through Host header injection. When Aggie 2.6.1 handles a forgot-password request, it builds the absolute password-reset URL from the incoming HTTP request rather than from a fixed, server-side canonical base URL. The Host header is fully client-controlled, and in a typical Rails-style deployment it is only trustworthy when a reverse proxy or the application itself enforces an allowlist; absent that pinning, the attacker submits the reset request for a target account with a Host value of their own domain. The application then mails the victim a reset link whose token sits on the attacker's hostname, and the token is disclosed the moment the link is followed or automatically fetched by mail scanning infrastructure - at which point the attacker completes the change and controls the account. Consequently the exploitability hinges on deployment configuration (absolute base/canonical URL pinning, Host allowlisting, reverse-proxy normalization) and on victim interaction with the reset email, which is why the assessed vector carries UI:R while NVD's does not. No CPE data was supplied with the intelligence feed, so the affected component is identified from the description and upstream repository reference as the Aggie 2.6.1 forgot-password/reset functionality.

Know when the next one hits your stack

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (mitre) PRIMARY 8.2 HIGH
AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:L
vuln.today AI 8.3 HIGH

Network, unauthenticated trigger (PR:N), but realistic password-reset poisoning needs the victim to click the poisoned link (UI:R); account takeover yields C:H/I:H, with A:L from lockout.

3.1 AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:L
4.0 AV:N/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:L/SC:N/SI:N/SA:N

Primary rating from Vendor (mitre).

CVSS VectorVendor: mitre

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
None
Availability
Low

DescriptionCVE.org

Aggie 2.6.1 has a Host Header injection vulnerability in the forgot password functionality, allowing an attacker to reset a user's password.

Executive ViewAI

Why It Matters

CVE-2025-22381 is a high-severity vulnerability in Aggie 2.6.1 that allows an unauthenticated remote attacker to hijack user accounts by manipulating the password reset flow. The attack relies on a crafted Host header to redirect reset emails to an attacker-controlled domain, and successful exploitation requires the victim to click a poisoned link or for a mail gateway to prefetch it. Leadership should be concerned because this flaw directly threatens account integrity and could enable broader unauthorized access to sensitive systems if not mitigated promptly, especially given the absence of a vendor patch.

Business Impact: High
Compensating Controls

Apply vendor patch. Until then, pin an absolute base URL for password reset links, validate the Host header against an allowlist, disable mail gateway prefetching, and enforce multi-factor authentication.

Threat Intelligence Overview

EPSS Score
0.6%
Top 49% exploitable
Prevalence
Low
niche open-source crisis/election-monitoring tool, limited production deployment
Data Quality
3 sources
Confidence: Low

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.6%
Patch available No
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
Yes
Human Impact
High

Priority Score

42
Low Medium High Critical
KEV: 0
EPSS: +1
CVSS: +41
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Code Injection CRITICAL

Code injection occurs when an application accepts user input and passes it directly into a language interpreter or evaluator without proper sanitization.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy