Skip to content

Bug: Unauthenticated /challenges/problems/seed endpoint allows arbitrary data insertion #39

Description

@Siddh2024

Bug

In src/main/java/.../SecurityConfig.java:74, the endpoint POST /challenges/problems/seed is publicly accessible with .permitAll(). Any unauthenticated user can insert arbitrary problems into the database.

Impact

Unauthenticated data injection - anyone can pollute the problems database.

Fix

Require authentication (ROLE_USER or ADMIN) for the seed endpoint.

@ashish-066 Please assign me this issue under GSSOC 2026.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions