Skip to main content
mySites.guru
New features added last monthRelease RadarFile ManagerImpostor FilesUpdate QueueRogue AdminsMCP & APIJoomla VELCVE Index

OS Gallery 6.2.7 Fixes an Unauthenticated SQL Injection and Two Authenticated RCEs

OS Gallery 6.2.7 Fixes an Unauthenticated SQL Injection and Two Authenticated RCEs

OrdaSoft’s OS Gallery, a gallery extension for Joomla, has four new vulnerabilities published today by the Joomla CNA, and between them they cover the two attacker starting points that matter most in any CMS extension: an unauthenticated route straight into the database, and two separate routes from an ordinary gallery-manager account to running code on the server. If you manage a Joomla site with OS Gallery installed on any version up to 6.2.6, it needs updating regardless of who logs in or how the gallery is used.

The four split into two groups: one needs no login at all, and three need an account holding a specific permission on the gallery component. Which group a flaw falls into changes how urgently it matters to you.

How mySites.guru flags this automatically

You do not need to read the rest of this post to find out whether you are affected. mySites.guru’s extension inventory tracks OS Gallery’s installed version on every connected Joomla site, and any site on 6.2.6 or below, Light edition included, is already flagged on its own site card, no searching required. If you manage sites outside mySites.guru too, the breakdown below tells you what to check for.

A mySites.guru site card's Important tab showing a Critical alert for OS Gallery (com_osgallery) below 6.2.7, naming the installed version (6.2.5 Light) and the update needed

The highest CVSS score of the four is a tie: CVE-2026-88857 and CVE-2026-88856 both score 9.4 Critical, and both need an account holding core.manage on the OS Gallery component, the permission Joomla grants to a gallery manager rather than a site administrator.

CVE-2026-88857 is a file upload flaw in saveWatermark(). The function copies an uploaded file into a web-accessible directory using the filename exactly as the client sent it, with no check on the file’s extension and no check on its actual content, only the Content-Type header the client claims. A gallery manager, or an attacker who has taken over one, can name the upload shell.php, set the Content-Type to image/jpeg, and the server stores it under its real name and later runs it when requested directly.

9.4CVSS 4.0

CriticalJoomla CNA · CVE-2026-88857

CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H
What does this mean?

CVSS 4.0 scores how severe a flaw is, from 0 (no impact) to 10 (critical). Each pair of letters in the string above is one metric; here is what this one's says.

How it is reached

AV:N
Network: Reachable across the internet
AC:L
Low: Nothing to work around, it just works
AT:N
None: Works against any affected install
PR:H
High: Needs an account with elevated rights
UI:N
None: Nobody has to be tricked into anything

What it does to the site

VC:H
High: Everything the site holds can be read
VI:H
High: Data and files can be altered at will
VA:H
High: The site can be taken down

What it does beyond the site

SC:H
High: Data on other systems can be read
SI:H
High: Other systems can be altered
SA:H
High: Other systems can be taken down

CVE-2026-88856 does not even need a file upload. The updateOSGallery() function, reached through task=update_osgallery, reads a JSON request body and takes the value of a method field, then calls it as a live PHP function using a package field from the same request as its argument. There is no allow-list of permitted function names, so anything callable with one argument is reachable, including system, exec, shell_exec and passthru.

9.4CVSS 4.0

CriticalJoomla CNA · CVE-2026-88856

CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H
What does this mean?

CVSS 4.0 scores how severe a flaw is, from 0 (no impact) to 10 (critical). Each pair of letters in the string above is one metric; here is what this one's says.

How it is reached

AV:N
Network: Reachable across the internet
AC:L
Low: Nothing to work around, it just works
AT:N
None: Works against any affected install
PR:H
High: Needs an account with elevated rights
UI:N
None: Nobody has to be tricked into anything

What it does to the site

VC:H
High: Everything the site holds can be read
VI:H
High: Data and files can be altered at will
VA:H
High: The site can be taken down

What it does beyond the site

SC:H
High: Data on other systems can be read
SI:H
High: Other systems can be altered
SA:H
High: Other systems can be taken down

Either one gives an attacker who already holds gallery-manager access the same shell your hosting provider has.

A malicious actor's own code runs on your server, with the same access as the website itself: reading, changing or deleting any file it can touch, planting a backdoor that survives the next update, installing malware, pulling every database credential and API key from your configuration, and using your server to attack other people. Gulp.

The search box needs no login at all

One step down by CVSS, and the only one of the four that needs no account whatsoever, is CVE-2026-88854. OS Gallery’s front-end search, delivered through the mod_osgallery_search module that ships with the extension, reads the textsearch and searchText request parameters with Joomla’s getVar(), which despite the name is not one of Joomla’s real input filters and does not touch quotes or SQL syntax, only HTML tags. The value goes straight into a LIKE clause with no escaping.

9.3CVSS 4.0

CriticalJoomla CNA · CVE-2026-88854

CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
What does this mean?

CVSS 4.0 scores how severe a flaw is, from 0 (no impact) to 10 (critical). Each pair of letters in the string above is one metric; here is what this one's says.

How it is reached

AV:N
Network: Reachable across the internet
AC:L
Low: Nothing to work around, it just works
AT:N
None: Works against any affected install
PR:N
None: No account needed
UI:N
None: Nobody has to be tricked into anything

What it does to the site

VC:H
High: Everything the site holds can be read
VI:H
High: Data and files can be altered at will
VA:H
High: The site can be taken down

What it does beyond the site

SC:N
None: Other systems keep their data
SI:N
None: Other systems keep their integrity
SA:N
None: Other systems stay up

mod_osgallery_search is the kind of module that ends up on a page and gets forgotten about: a small search box next to a gallery, doing what a search box does. Anyone who can reach that page, which is anyone who can reach the site, can send a crafted search term and pull data straight out of the database with a UNION SELECT, administrator password hashes included. No login, no CSRF token, no gallery-manager account required.

A malicious actor could extract your whole database: usernames, emails, password hashes, session IDs, shopping orders, invoices, and everything else it holds. Gulp.

A second SQL injection at the same permission level

The fourth CVE, CVE-2026-88855, scores lowest of the four at 8.6 High. saveGallery() passes form data through a hand-rolled parser into Joomla’s Input object, then reads it back with filter types that do not sanitise SQL content. Values from category_names[], catOrderIds and the image-ordering fields go straight into SQL with no quoting and no integer cast, and an account with core.manage on the gallery can use it to read and write the whole database, including a UNION-based pull of the #__users password hashes.

8.6CVSS 4.0

HighJoomla CNA · CVE-2026-88855

CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
What does this mean?

CVSS 4.0 scores how severe a flaw is, from 0 (no impact) to 10 (critical). Each pair of letters in the string above is one metric; here is what this one's says.

How it is reached

AV:N
Network: Reachable across the internet
AC:L
Low: Nothing to work around, it just works
AT:N
None: Works against any affected install
PR:H
High: Needs an account with elevated rights
UI:N
None: Nobody has to be tricked into anything

What it does to the site

VC:H
High: Everything the site holds can be read
VI:H
High: Data and files can be altered at will
VA:H
High: The site can be taken down

What it does beyond the site

SC:N
None: Other systems keep their data
SI:N
None: Other systems keep their integrity
SA:N
None: Other systems stay up

Who found this, and what OrdaSoft has said

All four CVEs credit the same finder, Ala Arfaoui, a security researcher whose public disclosure history up to now is entirely WordPress: more than a dozen credited CVEs, mostly cross-site request forgery and SQL injection in smaller WordPress plugins, going back several years. As far as the CVE records show, these four OS Gallery findings are the first time that work has crossed over into Joomla.

OrdaSoft’s own site has no changelog entry, no security page and no mention of any of the four CVE numbers as of publication. We could not find a public advisory, a release announcement, or any acknowledgement of the finder. The only place 6.2.7 is named as the fix is inside the four CVE records themselves. That is not unusual for a small extension vendor, most of the vendor self-fixes we cover here say considerably more than this, but it does mean the version number in this post is the only public confirmation of the fix available right now.

OS Gallery does not currently appear on the Joomla Vulnerable Extensions List, and these four CVEs are the first ever published against com_osgallery. There is no earlier history to compare the fix against.

By hand, checking one site means logging in, opening the extension manager, filtering for OS Gallery, reading the version, and updating anything on 6.2.6 or below. On one site that is a few minutes. Across forty sites it is most of an afternoon, and it is the kind of afternoon where site thirty-one gets less attention than site three.

In mySites.guru, search the extension inventory once for OS Gallery and get back every connected site running it with its current version, and any site below 6.2.7 is flagged on its own site card without you searching for anything.

If a gallery-manager account on any of your sites was compromised through either RCE route, the practical next step is finding whatever was left behind. A planted PHP file does not have to look like a webshell to behave like one.

Find files capable of accepting an upload

mySites.guru checks every connected site for this automatically and flags it the moment it appears. It runs as part of the full audit.

What the numbers look like across the sites we manage

As of today, the large majority of the OS Gallery installs we can see across the Joomla sites on mySites.guru are on a version below 6.2.7, which is what you would expect on the day four new CVEs are published against an extension that had none before. That is not a criticism of anyone running it. A fix released today has not had time to reach anyone, which is why we flag affected sites and email their owners rather than assuming a CVE record alone gets the word out.

OS Gallery ships a free “Light” edition alongside the paid one, and a site running it reports a version string like “6.2.5 Light” rather than a bare number. mySites.guru’s matcher strips the edition tag before comparing, so a Light install is judged on its version number the same way a Pro one is.

Timeline

  1. The four CVE identifiers are reserved

    The Joomla CNA reserves CVE-2026-88854 through CVE-2026-88857 for OS Gallery, ten days before any record is published.

  2. All four CVEs are published

    The Joomla CNA publishes all four records the same day, crediting Ala Arfaoui as the finder of all four. This is the extension's first published CVE history; no earlier CVE exists against com_osgallery.

  3. OS Gallery 6.2.7 is named as the fix

    All four published records name 6.2.7 as the version that resolves the flaw described in it. We could not find a public vendor advisory or changelog entry announcing the release independently of the CVE records.

  4. mySites.guru flags every affected site

    The detection rule covering OS Gallery 1.0.0 to 6.2.6 goes live, and every connected site running an affected version is flagged automatically on its site card.

Further Reading

Frequently Asked Questions

Which OS Gallery versions are affected by these four CVEs?
Every version from 1.0.0 up to and including 6.2.6, across all four CVEs (CVE-2026-88854, CVE-2026-88855, CVE-2026-88856 and CVE-2026-88857). The fix is OS Gallery 6.2.7. These are the first CVEs ever published against this extension, so there is no earlier affected range to compare against.
What can an anonymous visitor actually do with CVE-2026-88854?
OS Gallery's front-end search box passes what a visitor types straight into a database query with no escaping. Anyone at all, with no account and no login, can use it to extract data from the site's database, including administrator password hashes and session data. This is the only one of the four that needs no authentication at all.
What can a gallery-manager account do with the other three?
An account holding core.manage permission on the OS Gallery component, which Joomla calls a gallery manager rather than an administrator, can reach all three remaining flaws. CVE-2026-88857 disguises an uploaded PHP file as an image and runs it directly. CVE-2026-88856 sends a JSON request naming a PHP function and an argument, and the code calls that function with no allow-list, reaching functions like system and shell_exec. CVE-2026-88855 is a second SQL injection, requiring the same manager account.
Does this affect Joomla itself?
No. OS Gallery is a third-party gallery extension from OrdaSoft, not part of Joomla core. A Joomla site without OS Gallery installed is not affected by any of these four CVEs. The Joomla CNA assigns CVE identifiers for third-party Joomla extensions as well as for core, which is why these look like Joomla CVEs at a glance.
What about Joomla 3 sites? Is there a separate fix?
There is no separate branch to worry about. Some Joomla extensions maintain one version line for Joomla 3 and a different, incompatible one for Joomla 4 and above, which means a single version rule misses half the affected sites. OS Gallery is not built that way: it uses one continuous version scheme across Joomla 3, 4, 5 and 6, and we can see Joomla 3 sites already running 6.2.5 and 6.2.6 in the wild. A Joomla 3 site can install 6.2.7 the same way any other site does.
How do I find every OS Gallery site I manage?
By hand, you would need to log in to each Joomla site and check its installed extensions one at a time. mySites.guru searches the extension inventory once and returns every connected site running OS Gallery with its version, and flags any site on 6.2.6 or below automatically, without you checking each site by hand.
EU icon: AI MODIFIEDWritten and edited by a human, with AI assistance. Our approach to AI

What our users say

Shaun Kehoe
Shaun KehoeKMK Media Group
★★★★★

We just started using mySites.guru after the recent Joomla attacks and I wish we started using it sooner. It saves so much time with the normal maintenance by quickly sending extension updates to the sites that needs it, checking the site for hacked files, updating Joomla on all sites with 1 click, and much more. It would normally take hours going through all of the sites and manually doing everything, but this has streamlined the process and made our maintenance/monitoring of all the sites so much better.

Read more reviews
PJW
PJWJ&M Group Ltd, Chepstow
★★★★★

Wish I'd found out about this place when I would have been just happy to have it rather than after it turned out that I really needed it! I'm running a bunch of Joomla sites, all in various states of update and patching, having one place to see everything that needs addressing has helped me recover from the JCE crisis and will hopefully help me avoid similar in the future. Well worth it.

Read more reviews

Read all 285 reviews →

Ready to Take Control?

Start with a free site audit. No credit card required.

Get Your Free Site Audit