CWE-305
Weakness AllowedAuthentication Bypass by Primary Weakness
Abstraction: Base · Status: Draft
The authentication algorithm is sound, but the implemented mechanism can be bypassed as the result of a separate weakness that is primary to the authentication error.
Mapping guidance
This CWE entry is at the Base level of abstraction, which is a preferred level of abstraction for mapping to the root causes of vulnerabilities.
Carefully read both the name and description to ensure that this mapping is an appropriate fit. Do not try to 'force' a mapping to a lower-level Base/Variant simply to comply with this preferred level of abstraction.
Modes of introduction
REALIZATION: This weakness is caused during implementation of an architectural security tactic.
Notes
Relationship
Most "authentication bypass" errors are resultant, not primary.
Content history
updated Time_of_Introduction
updated Relationships, Relationship_Notes, Taxonomy_Mappings
updated Observed_Examples
updated Common_Consequences
updated Observed_Examples, Relationships
updated Relationships
updated Relationships
updated Applicable_Platforms, Modes_of_Introduction, Relationships
updated Relationships
updated Relationships
updated Relationships, Time_of_Introduction
updated Mapping_Notes
updated Relationships, Weakness_Ordinalities
updated Observed_Examples
337 vulnerabilities reference this CWE, most recent first.
GHSA-W2GX-X7WW-HGVM
Vulnerability from github – Published: 2026-10-16 00:31 – Updated: 2026-10-18 15:30BMC Helix Network Management on-prem before 26.3.01 contains an authentication bypass vulnerability that allows unauthenticated attackers to log in as the local administrator with any password when SAML single sign-on is configured. Attackers can submit the administrator username with an arbitrary password on the web login page to obtain a SuperAdmin session, modify device credentials, run device commands, and alter audit records.
{
"affected": [],
"aliases": [
"CVE-2026-111283"
],
"database_specific": {
"cwe_ids": [
"CWE-305"
],
"github_reviewed": false,
"github_reviewed_at": null,
"nvd_published_at": "2026-10-15T22:19:29Z",
"severity": "CRITICAL"
},
"details": "BMC Helix Network Management on-prem before 26.3.01 contains an authentication bypass vulnerability that allows unauthenticated attackers to log in as the local administrator with any password when SAML single sign-on is configured. Attackers can submit the administrator username with an arbitrary password on the web login page to obtain a SuperAdmin session, modify device credentials, run device commands, and alter audit records.",
"id": "GHSA-w2gx-x7ww-hgvm",
"modified": "2026-10-18T15:30:26Z",
"published": "2026-10-16T00:31:54Z",
"references": [
{
"type": "ADVISORY",
"url": "https://nvd.nist.gov/vuln/detail/CVE-2026-111283"
},
{
"type": "WEB",
"url": "https://docs.helixops.ai/bin/IT-Operations-Management/Operations-Management/BMC-Helix-Network-Management/NetworkManagement/Release-Notes/On-prem-Release-Notes/BMC-Helix-Network-Management-26-3-01-On-prem-Release-Notes"
},
{
"type": "WEB",
"url": "https://github.com/cybliminal/cve-2026-111283-bmc-helix-network-management-local-administrator-any-password"
},
{
"type": "WEB",
"url": "https://www.vulncheck.com/advisories/bmc-helix-network-management-before-26.3.01-authentication-bypass-via-saml-configuration"
}
],
"schema_version": "1.4.0",
"severity": [
{
"score": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H",
"type": "CVSS_V3"
},
{
"score": "CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X",
"type": "CVSS_V4"
}
]
}
GHSA-WF33-6X33-WCF9
Vulnerability from github – Published: 2022-12-27 15:30 – Updated: 2024-10-25 21:41In rdiffweb prior to 2.5.5, the username field is not unique to users. This allows exploitation of primary key logic by creating the same name with different combinations & may allow unauthorized access.
{
"affected": [
{
"package": {
"ecosystem": "PyPI",
"name": "rdiffweb"
},
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "2.5.5"
}
],
"type": "ECOSYSTEM"
}
]
}
],
"aliases": [
"CVE-2022-4722"
],
"database_specific": {
"cwe_ids": [
"CWE-287",
"CWE-305"
],
"github_reviewed": true,
"github_reviewed_at": "2022-12-30T18:01:28Z",
"nvd_published_at": "2022-12-27T15:15:00Z",
"severity": "HIGH"
},
"details": "In rdiffweb prior to 2.5.5, the username field is not unique to users. This allows exploitation of primary key logic by creating the same name with different combinations \u0026 may allow unauthorized access.",
"id": "GHSA-wf33-6x33-wcf9",
"modified": "2024-10-25T21:41:19Z",
"published": "2022-12-27T15:30:19Z",
"references": [
{
"type": "ADVISORY",
"url": "https://nvd.nist.gov/vuln/detail/CVE-2022-4722"
},
{
"type": "WEB",
"url": "https://github.com/ikus060/rdiffweb/commit/d1aaa96b665a39fba9e98d6054a9de511ba0a837"
},
{
"type": "PACKAGE",
"url": "https://github.com/ikus060/rdiffweb"
},
{
"type": "WEB",
"url": "https://github.com/pypa/advisory-database/tree/main/vulns/rdiffweb/PYSEC-2022-43008.yaml"
},
{
"type": "WEB",
"url": "https://huntr.dev/bounties/c62126dc-d9a6-4d3e-988d-967031876c58"
}
],
"schema_version": "1.4.0",
"severity": [
{
"score": "CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H",
"type": "CVSS_V3"
},
{
"score": "CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N",
"type": "CVSS_V4"
}
],
"summary": "rdiffweb vulnerable to Authentication Bypass by Primary Weakness"
}
GHSA-WWQ6-XMJH-4F52
Vulnerability from github – Published: 2024-12-19 15:31 – Updated: 2024-12-19 15:31A relative path traversal vulnerability (CWE-23) in FortiWAN version 4.5.7 and below, 4.4 all versions may allow a remote non-authenticated attacker to delete files on the system by sending a crafted POST request. In particular, deleting specific configuration files will reset the Admin password to its default value.
{
"affected": [],
"aliases": [
"CVE-2021-26102"
],
"database_specific": {
"cwe_ids": [
"CWE-22",
"CWE-305"
],
"github_reviewed": false,
"github_reviewed_at": null,
"nvd_published_at": "2024-12-19T14:15:05Z",
"severity": "CRITICAL"
},
"details": "A relative path traversal vulnerability (CWE-23) in FortiWAN version 4.5.7 and below, 4.4 all versions may allow a remote non-authenticated attacker to delete files on the system by sending a crafted POST request. In particular, deleting specific configuration files will reset the Admin password to its default value.",
"id": "GHSA-wwq6-xmjh-4f52",
"modified": "2024-12-19T15:31:11Z",
"published": "2024-12-19T15:31:11Z",
"references": [
{
"type": "ADVISORY",
"url": "https://nvd.nist.gov/vuln/detail/CVE-2021-26102"
},
{
"type": "WEB",
"url": "https://fortiguard.fortinet.com/psirt/FG-IR-21-048"
}
],
"schema_version": "1.4.0",
"severity": [
{
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H",
"type": "CVSS_V3"
}
]
}
GHSA-X585-4VV8-2MH2
Vulnerability from github – Published: 2026-11-13 01:09 – Updated: 2026-11-13 01:09Summary
SSH challenge tokens are mistakenly accepted as valid credentials during the authentication token validation process.
While an SSH challenge token is intended as a short-lived nonce for use in a subsequent SSH key exchange, the function to validate authentication tokens does not differentiate between these and actual authentication tokens. Because challenge tokens are generated based on an account name provided via headers without requiring prior authentication, an unauthenticated attacker can request a valid "challenge" token for any account (including administrative ones) and use it to authenticate against other API endpoints.
Proof of Concept
The vulnerability exists because SSH challenge tokens are stored in the same database table as regular authentication tokens and validate_auth_token in lib/rucio/core/authentication.py accepts these "challenge" tokens. An attacker can obtain a challenge token for an account such as “root” via the REST API and then present it as a valid authentication bearer token:
- Request a challenge token for an arbitrary account (e.g., "root"):
curl -i -H "X-Rucio-Account: root" https://rucio/auth/ssh_challenge_token - The server returns a
200 OKwith the headerX-Rucio-SSH-Challenge-Token. - The attacker can then use this specific token within the ten-second challenge lifetime as an authentication credential in subsequent requests to the Rucio API:
curl -H "X-Rucio-Auth-Token: $CHALLENGE_TOKEN" https://rucio/accounts/whoami
{
"affected": [
{
"package": {
"ecosystem": "PyPI",
"name": "rucio"
},
"ranges": [
{
"events": [
{
"introduced": "1.14.0.post1"
},
{
"fixed": "35.9.1"
}
],
"type": "ECOSYSTEM"
}
]
},
{
"package": {
"ecosystem": "PyPI",
"name": "rucio"
},
"ranges": [
{
"events": [
{
"introduced": "36.0.0rc1"
},
{
"fixed": "38.6.1"
}
],
"type": "ECOSYSTEM"
}
]
},
{
"package": {
"ecosystem": "PyPI",
"name": "rucio"
},
"ranges": [
{
"events": [
{
"introduced": "39.0.0rc1"
},
{
"fixed": "40.4.2"
}
],
"type": "ECOSYSTEM"
}
]
},
{
"package": {
"ecosystem": "PyPI",
"name": "rucio"
},
"ranges": [
{
"events": [
{
"introduced": "41.0.0rc1"
},
{
"fixed": "41.1.1"
}
],
"type": "ECOSYSTEM"
}
]
}
],
"aliases": [
"CVE-2026-100397"
],
"database_specific": {
"cwe_ids": [
"CWE-287",
"CWE-305"
],
"github_reviewed": true,
"github_reviewed_at": "2026-11-13T01:09:54Z",
"nvd_published_at": null,
"severity": "CRITICAL"
},
"details": "## Summary\n\nSSH challenge tokens are mistakenly accepted as valid credentials during the authentication token validation process.\n\nWhile an SSH challenge token is intended as a short-lived nonce for use in a subsequent SSH key exchange, the function to validate authentication tokens does not differentiate between these and actual authentication tokens. Because challenge tokens are generated based on an account name provided via headers without requiring prior authentication, an unauthenticated attacker can request a valid \"challenge\" token for any account (including administrative ones) and use it to authenticate against other API endpoints.\n\n## Proof of Concept\n\nThe vulnerability exists because SSH challenge tokens are stored in the same database table as regular authentication tokens and `validate_auth_token` in `lib/rucio/core/authentication.py` accepts these \"challenge\" tokens. An attacker can obtain a challenge token for an account such as \u201croot\u201d via the REST API and then present it as a valid authentication bearer token:\n\n1. Request a challenge token for an arbitrary account (e.g., \"root\"):\n `curl -i -H \"X-Rucio-Account: root\" https://rucio/auth/ssh_challenge_token`\n2. The server returns a `200 OK` with the header `X-Rucio-SSH-Challenge-Token`.\n3. The attacker can then use this specific token within the ten-second challenge lifetime as an authentication credential in subsequent requests to the Rucio API:\n `curl -H \"X-Rucio-Auth-Token: $CHALLENGE_TOKEN\" https://rucio/accounts/whoami`",
"id": "GHSA-x585-4vv8-2mh2",
"modified": "2026-11-13T01:09:54Z",
"published": "2026-11-13T01:09:54Z",
"references": [
{
"type": "WEB",
"url": "https://github.com/rucio/rucio/security/advisories/GHSA-x585-4vv8-2mh2"
},
{
"type": "WEB",
"url": "https://github.com/rucio/rucio/commit/f5db3546d9c0de4642dc9aa52e6a6e447911d680"
},
{
"type": "WEB",
"url": "https://github.com/rucio/rucio/commit/e6525523e3bbe8ae34cbfc9b043ae52bda209b87"
},
{
"type": "WEB",
"url": "https://github.com/rucio/rucio/commit/d7a3c2c2f933dce8edbcad07d8d076b9b782da35"
},
{
"type": "WEB",
"url": "https://github.com/rucio/rucio/commit/b1725ee5477b683202174f0ec77ae00921bc3bd0"
},
{
"type": "WEB",
"url": "https://github.com/rucio/rucio/commit/883d526c2f3c315cd775fb142038007053e3882b"
},
{
"type": "WEB",
"url": "https://github.com/rucio/rucio/commit/8295d72a9e2d76abf9e98eb6f9a4ed5cb3bb1869"
},
{
"type": "WEB",
"url": "https://github.com/rucio/rucio/commit/4df924feb539ef789b3e78cbc00712ef8cdf606e"
},
{
"type": "WEB",
"url": "https://github.com/rucio/rucio/commit/4d4a58571ba853f3a55aef16ad9eb0944fce7483"
},
{
"type": "WEB",
"url": "https://github.com/rucio/rucio/releases/tag/35.9.1"
},
{
"type": "WEB",
"url": "https://github.com/rucio/rucio/releases/tag/35.9.1.post1"
},
{
"type": "WEB",
"url": "https://github.com/rucio/rucio/releases/tag/38.6.1"
},
{
"type": "WEB",
"url": "https://github.com/rucio/rucio/releases/tag/38.6.2"
},
{
"type": "WEB",
"url": "https://github.com/rucio/rucio/releases/tag/40.4.2"
},
{
"type": "WEB",
"url": "https://github.com/rucio/rucio/releases/tag/41.1.1"
},
{
"type": "WEB",
"url": "https://github.com/rucio/rucio/releases/tag/41.2.0"
},
{
"type": "PACKAGE",
"url": "https://github.com/rucio/rucio"
}
],
"schema_version": "1.4.0",
"severity": [
{
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H",
"type": "CVSS_V3"
}
],
"summary": "Rucio: Unauthenticated administrator impersonation through SSH challenge tokens"
}
GHSA-XC4X-F462-G6P7
Vulnerability from github – Published: 2023-07-13 03:30 – Updated: 2025-02-13 18:31The authentication mechanism in SonicWall GMS and Analytics Web Services had insufficient checks, allowing authentication bypass. This issue affects GMS: 9.3.2-SP1 and earlier versions; Analytics: 2.5.0.4-R7 and earlier versions.
{
"affected": [],
"aliases": [
"CVE-2023-34124"
],
"database_specific": {
"cwe_ids": [
"CWE-287",
"CWE-305"
],
"github_reviewed": false,
"github_reviewed_at": null,
"nvd_published_at": "2023-07-13T01:15:08Z",
"severity": "CRITICAL"
},
"details": "The authentication mechanism in SonicWall GMS and Analytics Web Services had insufficient checks, allowing authentication bypass. This issue affects GMS: 9.3.2-SP1 and earlier versions; Analytics: 2.5.0.4-R7 and earlier versions.",
"id": "GHSA-xc4x-f462-g6p7",
"modified": "2025-02-13T18:31:40Z",
"published": "2023-07-13T03:30:47Z",
"references": [
{
"type": "ADVISORY",
"url": "https://nvd.nist.gov/vuln/detail/CVE-2023-34124"
},
{
"type": "WEB",
"url": "https://psirt.global.sonicwall.com/vuln-detail/SNWLID-2023-0010"
},
{
"type": "WEB",
"url": "https://www.sonicwall.com/support/notices/230710150218060"
},
{
"type": "WEB",
"url": "http://packetstormsecurity.com/files/174571/Sonicwall-GMS-9.9.9320-Remote-Code-Execution.html"
}
],
"schema_version": "1.4.0",
"severity": [
{
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H",
"type": "CVSS_V3"
}
]
}
GHSA-XFG3-G2VF-G46C
Vulnerability from github – Published: 2025-07-07 03:30 – Updated: 2025-07-07 03:30Authentication vulnerability in the distributed collaboration framework module Impact: Successful exploitation of this vulnerability may affect service confidentiality.
{
"affected": [],
"aliases": [
"CVE-2025-53167"
],
"database_specific": {
"cwe_ids": [
"CWE-305"
],
"github_reviewed": false,
"github_reviewed_at": null,
"nvd_published_at": "2025-07-07T03:15:27Z",
"severity": "MODERATE"
},
"details": "Authentication vulnerability in the distributed collaboration framework module\nImpact: Successful exploitation of this vulnerability may affect service confidentiality.",
"id": "GHSA-xfg3-g2vf-g46c",
"modified": "2025-07-07T03:30:22Z",
"published": "2025-07-07T03:30:22Z",
"references": [
{
"type": "ADVISORY",
"url": "https://nvd.nist.gov/vuln/detail/CVE-2025-53167"
},
{
"type": "WEB",
"url": "https://consumer.huawei.com/en/support/bulletin/2025/7"
}
],
"schema_version": "1.4.0",
"severity": [
{
"score": "CVSS:3.1/AV:A/AC:H/PR:N/UI:N/S:C/C:H/I:N/A:L",
"type": "CVSS_V3"
}
]
}
GHSA-XV4R-VCCV-MG4W
Vulnerability from github – Published: 2021-05-24 21:13 – Updated: 2021-12-20 18:07During an internal security audit, we detected an authentication bypass issue in the MinIO admin API. The security issue has been reported internally. We have not observed this exploit in the wild or reported elsewhere in the community at large. All users are advised to upgrade ASAP.
Impact
Given an admin access key, it is possible to perform admin API operations i.e. creating new service accounts for existing access keys without knowing the admin secret key. This security issue was found during a regular internal security audit.
Patches
This issue was fixed by @vadmeste in PR https://github.com/minio/minio/pull/9422
Binary Download
Please download the latest server binary that contains the fix from
| Platform | Architecture | URL |
|---|---|---|
| Apple macOS | 64-bit Intel | https://dl.min.io/server/minio/release/darwin-amd64/minio |
| GNU/Linux | 64-bit Intel | https://dl.min.io/server/minio/release/linux-amd64/minio |
| Microsoft Windows | 64-bit | https://dl.min.io/server/minio/release/windows-amd64/minio.exe |
Docker Container Download
docker pull minio/minio:RELEASE.2020-04-23T00-58-49Z
Questions
If you have any questions or comments regarding this advisory please reach out to us any of the following means.
- If you are a community user minio/minio
- Email us at security@min.io
- If you are a paid customer please open an issue at https://subnet.min.io
{
"affected": [],
"aliases": [
"CVE-2020-11012"
],
"database_specific": {
"cwe_ids": [
"CWE-287",
"CWE-305",
"CWE-755"
],
"github_reviewed": false,
"github_reviewed_at": null,
"nvd_published_at": "2020-04-23T22:15:00Z",
"severity": "HIGH"
},
"details": "During an internal security audit, we detected an authentication bypass issue in the MinIO admin API. The security issue has been reported internally. We have not observed this exploit in the wild or reported elsewhere in the community at large. All users are advised to upgrade ASAP.\n\n### Impact\nGiven an admin access key, it is possible to perform admin API operations i.e. creating new service accounts for existing access keys without knowing the admin secret key. This security issue was found during a regular internal security audit. \n\n### Patches\nThis issue was fixed by @vadmeste in PR https://github.com/minio/minio/pull/9422 \n\n### Binary Download\nPlease download the latest server binary that contains the fix from\n\n| Platform | Architecture | URL |\n| ---------- | -------- | ------ |\n| Apple macOS | 64-bit Intel | https://dl.min.io/server/minio/release/darwin-amd64/minio |\n| GNU/Linux | 64-bit Intel | https://dl.min.io/server/minio/release/linux-amd64/minio |\n| Microsoft Windows | 64-bit | https://dl.min.io/server/minio/release/windows-amd64/minio.exe |\n\n### Docker Container Download\n```\ndocker pull minio/minio:RELEASE.2020-04-23T00-58-49Z\n```\n\n### Questions\nIf you have any questions or comments regarding this advisory please reach out to us any of the following means.\n\n- If you are a community user [minio/minio](https://github.com/minio/minio/issues)\n- Email us at [security@min.io](mailto:security@min.io)\n- If you are a paid customer please open an issue at https://subnet.min.io",
"id": "GHSA-xv4r-vccv-mg4w",
"modified": "2021-12-20T18:07:48Z",
"published": "2021-05-24T21:13:59Z",
"references": [
{
"type": "WEB",
"url": "https://github.com/minio/minio/security/advisories/GHSA-xv4r-vccv-mg4w"
},
{
"type": "ADVISORY",
"url": "https://nvd.nist.gov/vuln/detail/CVE-2020-11012"
},
{
"type": "WEB",
"url": "https://github.com/minio/minio/pull/9422"
},
{
"type": "WEB",
"url": "https://github.com/minio/minio/commit/4cd6ca02c7957aeb2de3eede08b0754332a77923"
},
{
"type": "PACKAGE",
"url": "https://github.com/minio/minio"
},
{
"type": "WEB",
"url": "https://github.com/minio/minio/releases/tag/RELEASE.2020-04-23T00-58-49Z"
}
],
"schema_version": "1.4.0",
"severity": [
{
"score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:H/A:N",
"type": "CVSS_V3"
}
],
"summary": "MinIO Admin API security issue"
}
No mitigation information available for this CWE.
No CAPEC attack patterns related to this CWE.