Skip to content

fix: reject dot segments as principals #252

Closed

Description

@uniqueg

Why?

Path parameters for user IDs and groups (/services/{serviceId}/permissions/{userId}, /permissions/groups/{group}) accept . and ... Clients that build URLs with encodeURIComponent leave dots unencoded, and URL normalisation then turns such requests into requests to other paths (found in elixir-cloud-aai/cloud-registry-ui's pre-release review). Service IDs already reject them.

What?

  • Reject principals that consist only of dots, with the same pattern as service IDs, in the API spec.

Acceptance criteria

  • . and .. as user ID or group give 400, covered by tests.

Activity

  1. added
    priority: low
    status: triage
    type: security
    workload: minutes
    on Oct 26, 2026
  2. added
    status: in progress
    and removed
    status: triage
    on Oct 26, 2026
  3. removed
    status: in progress
    on Oct 26, 2026
  4. added this to the v0.6.0 milestone on Oct 28, 2026
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

    priority: lowtype: securityworkload: minutes

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions