/

CVE-2026-131851

Severity:

HIGH RISK

(8.8)

SQL Injection (CWE-89) in ILIAS Study Programme Filters

CVE-2026-131851

Deferred

Vulnerability type

Category:

SQL Injection

CWE:

CWE-89

Impact:

Database manipulation and potential privilege escalation

Severity:

HIGH RISK

(8.8)

CVSS version:

3.1

Catch this CVE while code is being written

Detect vulnerable code directly in pull requests, so CVEs are fixed before merge.

Summary

ILIAS contains a SQL injection vulnerability in the Study Programme members list Name and Status filters. An authenticated user with permission to view members in an organizational unit may be able to manipulate database queries, potentially gaining administrative control.

Affected context

The issue affects ILIAS versions before 9.25, 10.13, and 11.6. It occurs in ilPRGAssignmentFilter::toConditions() when processing the Name and Status filters in the Study Programme members list; deployments are at risk when user-supplied filter values are incorporated into SQL without safe parameterization.

Exploit preconditions

  • Attack surface: Study Programme members list filtering
  • Required access: An authenticated account with OrgUnit permission to view members
  • Trigger point: Applying the Name or Status filter
  • Why exploitation is possible: Filter values may escape SQL LIKE literals and affect the structure of the resulting query, including through stacked statements.

Why this happens

The underlying issue is SQL injection, mapped to CWE-89. The filter-building logic does not sufficiently separate user-controlled filter values from SQL syntax. When values are assembled into a query without parameter binding and appropriate handling of LIKE patterns, input can alter the query's intended structure.

Potential impact

  • An attacker could read or modify database information beyond their intended permissions.
  • An attacker may be able to alter account credentials, including the root password hash.
  • Successful exploitation could lead to administrative control of the ILIAS instance.

General mitigation guidance

Defensive approaches focus on keeping user-controlled data separate from SQL syntax and limiting the consequences of database access.

  • Use parameterized queries for filter values rather than constructing SQL through string concatenation.
  • Handle LIKE pattern characters safely while preserving the intended search behavior.
  • Apply strict validation to filter inputs and use secure-by-default query-building abstractions.
  • Restrict database account privileges to the minimum required by the application.
  • Review authorization boundaries for member-list access and sensitive account-management operations.

How teams detect issues like this

  • Use static analysis to identify SQL statements built through concatenation or interpolation of request-derived filter values.
  • Review query-building code for correct parameter binding, especially around LIKE clauses and filter helpers.
  • Enforce code-review or CI policies that flag raw SQL construction from user-controlled values.
  • Monitor application and database logs for unusual filter activity or unexpected changes to privileged account records.

Sources

SourceLink
docu.ilias.dedocu.ilias.de/go/blog/15821/958
docu.ilias.dedocu.ilias.de/go/blog/15821/959
docu.ilias.dedocu.ilias.de/go/blog/15821/960
github.comgithub.com/ILIAS-eLearning/ILIAS/blob/v11.5/components/ILIAS/StudyProgramme/classes/model/Assignments/ilPRGAssignmentFilter.php#L39-L58
github.comgithub.com/ILIAS-eLearning/ILIAS/blob/v9.24/Modules/StudyProgramme/classes/model/Assignments/ilPRGAssignmentFilter.php#L39-L58
github.comgithub.com/ILIAS-eLearning/ILIAS/commit/cf9d6254c4878a95d85f5f41fe46a3283a6f1820
github.comgithub.com/ILIAS-eLearning/ILIAS/commit/e02e47f02e04207b1576067d5af334b6d5b9c352
github.comgithub.com/ILIAS-eLearning/ILIAS/commit/fc461040f4aa2d542f3b09112d6dfc849e90946d
vulncheck.comvulncheck.com/advisories/ilias-before-9.25-10.13-and-11.6-sql-injection-via-studyprogramme-members-filter

Frequently asked

questions

An authenticated user with OrgUnit permission to view members may be able to reach the vulnerable filters.

No. The described prerequisite is permission to view members in an organizational unit, not administrative access.

Use parameterized SQL for filter values and safely handle LIKE pattern characters so input cannot change query structure.

Use secure query-building APIs, review user-derived values in database operations, and enforce static-analysis and code-review policies for SQL construction.

Find out what's already
exploitable in your codebase.