Skip to main content

CVE-2026-108741: Time-of-check Time-of-use (TOCTOU) Race Condition in shepherd-agents Shepherd

0
Low
Published: 10/11/2026 (10/11/2026, 15:31:05 UTC)
Source: CVE Database V5
Vendor/Project: shepherd-agents
Product: Shepherd

Description

Shepherd (shepherd-ai) versions up to 0.3.1 contain a time-of-check to time-of-use (TOCTOU) race condition vulnerability in the citation-checker extra. This flaw allows an attacker controlling DNS for a crafted reference URL to bypass the server-side request forgery (SSRF) guard by exploiting the difference between the initial URL validation and the actual hostname resolution at connection time. This can lead to unauthorized GET requests to internal HTTP(S) services with responses captured in evidence files. The vulnerability has a low severity score (CVSS 2.3) and requires user interaction.

CVSS v4.0

Score 2.3low

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
Present
Privileges Required
None
User Interaction
Passive
Vuln. Confidentiality
Low
Vuln. Integrity
None
Vuln. Availability
None
Subsq. Confidentiality
None
Subsq. Integrity
None
Subsq. Availability
None
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N

Affected software

shepherd-agents

Shepherd

Affected versions
>=0 <=0.3.1
Shepherd
pkg:pypi/Shepherd
Affected versions
>=0 <=0.3.1

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 10/11/2026, 13:04:04 UTC

Technical Analysis

CVE-2026-108741 describes a TOCTOU race condition in Shepherd (shepherd-ai) through version 0.3.1. The issue arises because the public_url guard validates a resolved address, but the fetch operation re-resolves the hostname at connect time. An attacker who plants a crafted reference URL in a document checked by the citation-checker and controls its DNS can rebind the hostname to internal addresses after validation. This allows sending GET requests to internal HTTP(S) services and capturing their responses in evidence files, effectively bypassing the SSRF guard.

Potential Impact

The vulnerability enables attackers to bypass the SSRF protection in Shepherd's citation-checker, potentially allowing unauthorized internal HTTP(S) requests and exfiltration of internal service responses. However, the impact is limited by the low CVSS score (2.3), indicating low severity and requiring user interaction. There are no known exploits in the wild.

Mitigation Recommendations

Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until a fix is available, users should be cautious about processing documents containing untrusted reference URLs and consider restricting DNS control or network access to internal services to mitigate potential exploitation.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
VulnCheck
Date Reserved
2026-10-11T01:52:55.363Z
Cvss Version
4.0
State
PUBLISHED

Threat ID: 6acb85c22cdf04f656d09a28

Added to database: 10/11/2026, 12:49:06 UTC

Last enriched: 10/11/2026, 13:04:04 UTC

Last updated: 10/11/2026, 21:33:16 UTC

Views: 14

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses