Skip to content

SSRF vulnerability in /ffprobe endpoint

Moderate
blakeblackshear published GHSA-j6g3-3j3q-c2xv Jan 10, 2026

Package

pip frigate (pip)

Affected versions

0.16.2

Patched versions

>=0.17.0-beta1

Description

Summary

The /ffprobe endpoint accepts arbitrary user-controlled URLs without proper validation, allowing Server-Side Request Forgery (SSRF) attacks. An attacker can use the Frigate server to make HTTP requests to internal network resources, cloud metadata services, or perform port scanning.

Details

Location: /frigate/api/camera.py
The endpoint https://<frigate>/api/ffprobe?paths=<SSRF payload> accepts any URL without validation.

PoC

  1. Get access to frigate as low user (Viewer)
  2. Open this url, in my case is a burp collaborator: https://<snip>/api/ffprobe?paths=https://m7u92o5zzurcgxtgt8kry1ugg7myaoyd.oastify.com
  3. After that server will send the request to my burp collaborator:
obraz

Impact

Information disclosure - Determine existence of internal hosts and services
Bypass firewall restrictions - Access internal services not exposed to internet
Port scan internal network - Enumerate services and open ports

Recommended Fixes

Valifate the paths arguments:
Add strict validation to accept only camera stream protocols and block access to internal resources.

Restrict access to the endpoint to authenticated admin users only:
Add dependencies=[Depends(require_role(["admin"]))]) to this endpoint.

Add Rate Limiting
Implement rate limiting to prevent abuse.

Severity

Moderate

CVSS overall score

This score calculates overall vulnerability severity from 0 to 10 and is based on the Common Vulnerability Scoring System (CVSS).
/ 10

CVSS v3 base metrics

Attack vector
Network
Attack complexity
Low
Privileges required
Low
User interaction
None
Scope
Changed
Confidentiality
None
Integrity
Low
Availability
None

CVSS v3 base metrics

Attack vector: More severe the more the remote (logically and physically) an attacker can be in order to exploit the vulnerability.
Attack complexity: More severe for the least complex attacks.
Privileges required: More severe if no privileges are required.
User interaction: More severe when no user interaction is required.
Scope: More severe when a scope change occurs, e.g. one vulnerable component impacts resources in components beyond its security scope.
Confidentiality: More severe when loss of data confidentiality is highest, measuring the level of data access available to an unauthorized user.
Integrity: More severe when loss of data integrity is the highest, measuring the consequence of data modification possible by an unauthorized user.
Availability: More severe when the loss of impacted component availability is highest.
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:L/A:N

CVE ID

No known CVE

Weaknesses

Server-Side Request Forgery (SSRF)

The web server receives a URL or similar request from an upstream component and retrieves the contents of this URL, but it does not sufficiently ensure that the request is being sent to the expected destination. Learn more on MITRE.

Credits