Sub2API Vulnerable to Password Reset Poisoning via Host Header Trust Issue, Leading to Account Takeover
Sub2API is an AI API gateway platform designed to distribute and manage API quotas from AI product subscriptions. A vulnerability in versions prior to 0.1.85 is a Password Reset Poisoning (Host Header / Forwarded Header trust issue), which allows attackers to manipulate the password reset link. Attackers can exploit this flaw to inject their own domain into the password reset link, leading to the potential for account takeover. The vulnerability has been fixed in version v0.1.85. If upgrading is not immediately possible, users can mitigate the vulnerability by disabling the "forgot password" feature until an upgrade to a patched version can be performed. This will prevent attackers from exploiting the vulnerability via the affected endpoint.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2026-27812
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 4 Nov 2026, 16:35 UTC · Revision 1
Source evidence
Sub2API Vulnerable to Password Reset Poisoning via Host Header Trust Issue, Leading to Account Takeover
core-osv · Original sourcePublished 26 Feb 2026, 00:00 UTC
Sub2API is an AI API gateway platform designed to distribute and manage API quotas from AI product subscriptions. A vulnerability in versions prior to 0.1.85 is a Password Reset Poisoning (Host Header / Forwarded Header trust issue), which allows attackers to manipulate the password reset link. Attackers can exploit this flaw to inject their own domain into the password reset link, leading to the potential for account takeover. The vulnerability has been fixed in version v0.1.85. If upgrading is not immediately possible, users can mitigate the vulnerability by disabling the "forgot password" feature until an upgrade to a patched version can be performed. This will prevent attackers from exploiting the vulnerability via the affected endpoint.
osv:CVE-2026-27812
Complete source record
{
"id": "33aa6c453289d83a9fac1539fa77c23cc8e0f79f45c15310c761ba5eede512c8",
"url": "https://osv.dev/vulnerability/CVE-2026-27812",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "Sub2API Vulnerable to Password Reset Poisoning via Host Header Trust Issue, Leading to Account Takeover",
"summary": "Sub2API is an AI API gateway platform designed to distribute and manage API quotas from AI product subscriptions. A vulnerability in versions prior to 0.1.85 is a Password Reset Poisoning (Host Header / Forwarded Header trust issue), which allows attackers to manipulate the password reset link. Attackers can exploit this flaw to inject their own domain into the password reset link, leading to the potential for account takeover. The vulnerability has been fixed in version v0.1.85. If upgrading is not immediately possible, users can mitigate the vulnerability by disabling the \"forgot password\" feature until an upgrade to a patched version can be performed. This will prevent attackers from exploiting the vulnerability via the affected endpoint.",
"evidence": "osv:CVE-2026-27812",
"products": [],
"severity": "high",
"structured": {
"id": "CVE-2026-27812",
"aliases": [
"CVE-2026-27812",
"GHSA-vc2q-289v-74g3"
],
"metrics": [
{
"type": "CVSS_V4",
"score": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N/E:U"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/wei-shaw/sub2api",
"type": "GIT",
"events": [
{
"introduced": "0"
},
{
"fixed": "7be5e1734c1c0882c851f9fd1c2ee70cc62b7d29"
}
],
"database_specific": {
"extracted_events": [
{
"range": [
{
"introduced": "0"
},
{
"fixed": "0.1.85"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StringRangeExpression"
},
{
"cpe": "cpe:2.3:a:sub2api:sub2api:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "0"
},
{
"fixed": "0.1.85"
}
],
"source": "CPE_RANGE"
}
]
}
}
],
"versions": [
"v0.1.84",
"v0.1.83",
"v0.1.82",
"v0.1.81",
"v0.1.80",
"v0.1.79",
"v0.1.78",
"v0.1.77",
"v0.1.75",
"v0.1.74",
"v0.1.73",
"v0.1.72",
"v0.1.71",
"v0.1.70",
"v0.1.69",
"v0.1.65",
"v0.1.66",
"v0.1.64",
"v0.1.63",
"v0.1.62",
"v0.1.61",
"v0.1.60",
"v0.1.59",
"v0.1.58",
"v0.1.57",
"v0.1.56",
"v0.1.55",
"v0.1.53",
"v0.1.52",
"v0.1.51",
"v0.1.50",
"v0.1.39",
"v0.1.45",
"v0.1.42",
"v0.1.41",
"v0.1.40",
"v0.1.33",
"v0.1.25",
"v0.1.24",
"v0.1.23",
"v0.1.22",
"v0.1.21",
"v0.1.20",
"v0.1.19",
"v0.1.18",
"v0.1.17",
"v0.1.16",
"v0.1.15",
"v0.1.14",
"v0.1.13",
"v0.1.12",
"v0.1.11",
"v0.1.10",
"v0.1.9",
"v0.1.8",
"v0.1.7",
"v0.1.6",
"v0.1.5",
"v0.1.4",
"v0.1.3",
"v0.1.2",
"v0.1.1",
"v0.1.0"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-27812.json"
}
}
],
"modified": "2026-10-28T02:30:37.624141358Z",
"provider": "osv",
"references": [
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/27xxx/CVE-2026-27812.json",
"https://github.com/Wei-Shaw/sub2api/security/advisories/GHSA-vc2q-289v-74g3",
"https://nvd.nist.gov/vuln/detail/CVE-2026-27812"
],
"provider_metadata": {
"cwe_ids": [
"CWE-116"
],
"cna_assigner": "GitHub_M",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/27xxx/CVE-2026-27812.json"
}
},
"related_cves": [
{
"value": "CVE-2026-27812",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 504757,
"published_at": "2026-02-26T00:00:10.239+00:00"
}