Skip to content

User with viewer role is able to view camera settings through api endpoint #486

Description

@kvnnap
  • Log in with a user having Viewer role
  • Access /api/streams endpoint (GET request)
  • onvif_password field is available, showing the password
Image

Activity

  1. matteius commented on Aug 12, 2026

    @matteius
    Contributor

    I pushed a fix to main, should be in the next release (haven't pushed that version yet).

  2. matteius commented on Aug 17, 2026

    @matteius
    Contributor

    Fixed on main by bba3e97. Viewer stream responses redact ONVIF credentials and all source URLs/overrides while retaining non-secret capability flags. The API response has regression coverage.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions