pypi package report

Is frigate safe?

2 known vulnerabilities, worst severity CRITICAL.

// reach

0 direct dependencies

none carry a known advisory

    0 packages depend on it

    an advisory here reaches each of them

      Create a free accountfor every dependency path, dependent and what to upgrade
      // ai model usage

      No published models are known to use this package.


      cvss
      9.3
      critical

      CVSS v3.1 base score out of 10

      epss
      0.77%
      medium

      chance of exploitation in 30 days, 56th percentile of all CVEs

      xyz score
      4.0
      medium

      CyberXYZ composite out of 10

      fig. 01 — GHSA-w4h6-9wrp-v5jq, the advisory selected below

      // 2 advisories

      GHSA-w4h6-9wrp-v5jq

      CRITICALGitHub ratingCVE-2024-32874

      Important: Exploiting this vulnerability requires the attacker to have access to your Frigate instance, which means they could also just delete all of your recordings or perform any other action. If you have configured authentication in front of Frigate via a reverse proxy, then this vulnerability is not exploitable without first getting around your authentication method. For many obvious reasons in addition to this one, please don't expose your Frigate instance publicly without any kind of authentication.

      // summary

      When uploading a file or retrieving the filename, a user may intentionally use a large Unicode filename which would lead to a application-level denial of service. This is due to no limitation set on the length of the filename and the costy use of the Unicode normalization with the form NFKD under the hood of secure_filename().

      I idenfied multiple vulnerable paths on blakeblackshear/frigate repository. In all of those paths, it was possible for a malicious user to send a filename equals to the output of : python3 -c "print('℀' * 1_000_000)" which would reach the werkzeug secure_filename() call , which in turn under the hood uses a compatibility Unicode normalization with NFKC/NFKD form. In sum, the latter call would be costly in matter of CPU resource and may lead to the application-level denial of service.

      // vulnerable paths

      Path with 2 steps

      @MediaBp.route("/<camera_name>/start/<int:start_ts>/end/<int:end_ts>/clip.mp4") @MediaBp.route("/<camera_name>/start/<float:start_ts>/end/<float:end_ts>/clip.mp4") def recording_clip(camera_name, start_ts, end_ts): download = request.args.get("download", type=bool)

      playlist_lines.append(f"outpoint {int(end_ts - clip.start_time)}")

      file_name = secure_filename(f"clip_{camera_name}_{start_ts}-{end_ts}.mp4") path = os.path.join(CACHE_DIR, file_name)

      ----------------------------------------

      frigate/api/media.py

      playlist_lines.append(f"outpoint {int(end_ts - clip.start_time)}")

      file_name = secure_filename(f"clip_{camera_name}_{start_ts}-{end_ts}.mp4") path = os.path.join(CACHE_DIR, file_name)

      This user-provided value can reach a costly Unicode normalization operation.

      // paths

      Path with 2 steps

      @MediaBp.route("/<camera_name>/start/<int:start_ts>/end/<int:end_ts>/clip.mp4") @MediaBp.route("/<camera_name>/start/<float:start_ts>/end/<float:end_ts>/clip.mp4") def recording_clip(camera_name, start_ts, end_ts): download = request.args.get("download", type=bool)

      playlist_lines.append(f"outpoint {int(end_ts - clip.start_time)}")

      file_name = secure_filename(f"clip_{camera_name}_{start_ts}-{end_ts}.mp4") path = os.path.join(CACHE_DIR, file_name)

      ----------------------------------------

      frigate/api/media.py

      playlist_lines.append(f"outpoint {int(end_ts - clip.start_time)}")

      file_name = secure_filename(f"clip_{camera_name}_{start_ts}-{end_ts}.mp4") path = os.path.join(CACHE_DIR, file_name)

      This user-provided value can reach a costly Unicode normalization operation.

      // paths

      Path with 2 steps

      @MediaBp.route("/<camera_name>/start/<int:start_ts>/end/<int:end_ts>/clip.mp4") @MediaBp.route("/<camera_name>/start/<float:start_ts>/end/<float:end_ts>/clip.mp4") def recording_clip(camera_name, start_ts, end_ts): download = request.args.get("download", type=bool)

      playlist_lines.append(f"outpoint {int(end_ts - clip.start_time)}")

      file_name = secure_filename(f"clip_{camera_name}_{start_ts}-{end_ts}.mp4") path = os.path.join(CACHE_DIR, file_name)

      ----------------------------------------

      frigate/api/media.py

      current_app.frigate_config, camera_name, secure_filename(name.replace(" ", "_")) if name else None, int(start_time), int(end_time),

      This user-provided value can reach a costly Unicode normalization operation.

      // paths

      Path with 8 steps

      jsonify, make_response, request, ) from peewee import DoesNotExist, fn

      jsonify, make_response, request, ) from peewee import DoesNotExist, fn

      )

      json: dict[str, any] = request.get_json(silent=True) or {} playback_factor = json.get("playback", "realtime") name: Optional[str] = json.get("name")

      )

      json: dict[str, any] = request.get_json(silent=True) or {}

      // cvss v3.1 vector

      CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:L/A:H

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

      Checked 2026-11-07 at 23:27 UTC. The most recent advisory here was published 2026-03-18. Updated continuously from NVD, GHSA, OSV and CNA feeds.

      Think a verdict here is wrong? Tell us — we respond within 2 business days.